From: Florian Fainelli Date: Thu, 20 Nov 2014 18:14:46 +0000 (-0800) Subject: bus: brcmstb_gisb: resolve section mismatch X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8a29a1c9aaa41f72a71bb81c3df66da8156c1e;p=pandora-kernel.git bus: brcmstb_gisb: resolve section mismatch Commit f1bee783dd37 moved the call to hook_fault_code in brcmstb_gisb_arb_probe() which now calls a function annotated with __init, so this one must also be annotated with __init. In order to avoid introducing another section mismatch, call platform_driver_probe() manually and remove the .probe assignment from brcmstb_gisb_arb_driver, this is very similar to what drivers/pci/host/pci-imx6.c does since we basically have the same constraints here. Fixes: f1bee783dd37 ("bus: brcmstb_gisb: register the fault code hook") Signed-off-by: Florian Fainelli Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed