[linux-next] compile fail with "soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers"
paul.gortmaker at windriver.com
Wed Jun 3 09:08:08 PDT 2015
Author: Thierry Reding <treding at nvidia.com>
Date: Wed Apr 29 16:54:04 2015 +0200
soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers
in linux-next, in combination with my pending init cleanup
will cause a compile fail because 43b642 is relying on an
implicit include of <linux/module.h> to provide the fcn for:
which in turn causes:
drivers/soc/tegra/fuse/fuse-tegra.c:171:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
drivers/soc/tegra/fuse/fuse-tegra.c:171:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
Can you add the include to your tree please? I think it makes
more sense to be there vs. me preemptively adding it to mine.
BTW, I think we can look at converting your driver to use the alternate
fcn builtin_platform_driver later, once that branch is merged.
More information about the linux-arm-kernel