diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-03-11 04:31:04 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-03-13 15:45:24 +0100 |
commit | a697c2efba03ac7bfdbffbba7f0f1aa294f7dee0 (patch) | |
tree | d497ac1d60cbeb2c8723e0919c5f06f4df09c9fa /drivers/cpufreq/sa1110-cpufreq.c | |
parent | of: unittest: Add options string testcase variants (diff) | |
download | linux-a697c2efba03ac7bfdbffbba7f0f1aa294f7dee0.tar.xz linux-a697c2efba03ac7bfdbffbba7f0f1aa294f7dee0.zip |
of/platform: Fix sparc:allmodconfig build
sparc:allmodconfig fails to build with:
drivers/built-in.o: In function `platform_bus_init':
(.init.text+0x3684): undefined reference to `of_platform_register_reconfig_notifier'
of_platform_register_reconfig_notifier is only declared if both OF_ADDRESS
and OF_DYNAMIC are configured. Yet, the include file only declares a dummy
function if OF_DYNAMIC is not configured. The sparc architecture does not
configure OF_ADDRESS, but does configure OF_DYNAMIC, causing above error.
Fixes: 801d728c10db ("of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type")
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/cpufreq/sa1110-cpufreq.c')
0 files changed, 0 insertions, 0 deletions