[ATM] he: Fix __init/__devinit conflict
authorRoland Dreier <roland@digitalvampire.org>
Mon, 25 Sep 2006 03:09:33 +0000 (20:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Sep 2006 03:09:33 +0000 (20:09 -0700)
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 <roland@digitalvampire.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found