From: Roland Dreier Date: Mon, 25 Sep 2006 03:09:33 +0000 (-0700) Subject: [ATM] he: Fix __init/__devinit conflict X-Git-Tag: v2.6.19-rc1~1232^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7c714ec27584b18279b741b6043016f8adb9de;p=pandora-kernel.git [ATM] he: Fix __init/__devinit conflict he_init_one() is declared __devinit, but calls lots of init functions that are marked __init. However, if CONFIG_HOTPLUG is enabled, __devinit functions go into normal .text, which leads to WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x2130) and 'he_service_tbrq' Fix this by changing the __init functions to __devinit. Signed-off-by: Roland Dreier Signed-off-by: David S. Miller --- Reading git-diff-tree failed