Re: [PATCH] fix wrong __init usage in IDE PCI drivers
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: 2005-01-15 01:38:24
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: 2005-01-15 01:38:24
On Sun, 9 Jan 2005 14:19:59 +0100, Christoph Hellwig [off-list ref] wrote:
PCI probe routines (and funcions called by them) must use __devinit as they can be called from PCI hotplug operations. While most of the drivers touched in the patch are for hardware that's soldered on mainboards we now have a fake PCI HP driver that allows hot remove / replug for them which they need to handle.
Ugh... I really hate (lack of) flexibility of CONFIG_HOTPLUG...
Shouldn't we have __fakedev{init,exit} ?