From: Hauke Mehrtens Date: Thu, 9 Oct 2014 21:39:41 +0000 (+0200) Subject: bcma: fix build when CONFIG_OF_ADDRESS is not set X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~30^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78afe83c3b008e25123bd1be36ee4b6595e595d1;p=pandora-kernel.git 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 Signed-off-by: Hauke Mehrtens Reviewed-by: Guenter Roeck Signed-off-by: John W. Linville --- Reading git-diff-tree failed