]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
section errors in smc911x/smc91x
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 22 Nov 2008 17:36:14 +0000 (17:36 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 30 Nov 2008 18:03:37 +0000 (10:03 -0800)
commitf57628d76bd201a444ca822f3622522a44acbf60
tree188e3450ed89f197bfb73da036122fdec0848243
parent5bac287ea51bb8678c3875d87a536071ef0fd590
section errors in smc911x/smc91x

a) ->probe() can be __devinit; no need to put it into .text
 b) calling __init stuff from it, OTOH, is wrong
 c) ->remove() is __devexit fodder

Acked-by: rmk+kernel@arm.linux.org.uk
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/smc911x.c
drivers/net/smc91x.c