diff options
author | Roland Dreier <roland@digitalvampire.org> | 2006-09-24 23:09:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-24 23:09:33 -0400 |
commit | 5b7c714ec27584b18279b741b6043016f8adb9de (patch) | |
tree | 29b9599aecd0ebda24da4791abbc82a402fa081a /net | |
parent | 76a081e5b32fde17f6f6d007e1806744cc848712 (diff) |
[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 <roland@digitalvampire.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions