aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_chipcommon_b.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-10-09 23:39:41 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-10-23 14:02:05 -0400
commit78afe83c3b008e25123bd1be36ee4b6595e595d1 (patch)
tree5ca6e257e184a604fcd6bd75af9735bf7913dd40 /drivers/bcma/driver_chipcommon_b.c
parentMerge tag 'ntb-3.18' of git://github.com/jonmason/ntb (diff)
downloadlinux-dev-78afe83c3b008e25123bd1be36ee4b6595e595d1.tar.xz
linux-dev-78afe83c3b008e25123bd1be36ee4b6595e595d1.zip
bcma: fix build when CONFIG_OF_ADDRESS is not set
Commit 2101e533f41a ("bcma: register bcma as device tree driver") introduces a hard dependency on OF_ADDRESS into the bcma driver. OF_ADDRESS is specifically disabled for the sparc architecture. This results in the following error when building sparc64:allmodconfig. drivers/bcma/main.c: In function 'bcma_of_find_child_device': drivers/bcma/main.c:150:3: error: implicit declaration of function 'of_translate_address' Fixes: 2101e533f41a ("bcma: register bcma as device tree driver") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/driver_chipcommon_b.c')
0 files changed, 0 insertions, 0 deletions