summaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>2004-01-05 05:39:29 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-01-05 05:39:29 -0800
commit67215df9a8abf1e090b567fd2f4b550d1079ac3c (patch)
tree64a4fe3654f23a8fe8389243ce470880d380ca02 /include/linux/console_struct.h
parent00c45815e8572e763089b7f0faa9f3ecf625038e (diff)
[PATCH] fix oopses on rmmod in some OSS drivers
Fix for oops on rmmod caused by *_remove() function marked as __devinit (and thus discarded after module initialization - if CONFIG_MODULES=y and CONFIG_HOTPLUG is not set). This patch changes __devinit to __devexit and adds __devexit_p() where pointer to such function is used. The only exception is au1000, where au1000_remove() is called from cleanup_au1000() function - __devinit is jest removed there.
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions