[PATCH] Removal of MOD_{INC,DEC}_USE_COUNT in ide-cs
Russell King
rmk+pcmcia at arm.linux.org.uk
Mon Apr 19 10:16:16 BST 2004
On Sun, Apr 18, 2004 at 11:08:32PM -0400, Pavel Roskin wrote:
> The "ide-cs" module cannot be unloaded because it used obsolete
> MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT macros. In fact, they are not
> needed in 2.6 kernel. The generic PCMCIA code already increases use count
> for every device served by the driver, so it's impossible to unload the
> ide-cs driver while it's in use.
Last I heard, it was unsafe to remove IDE interfaces, so these obsolete
macros were kept to remind people of that fact.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
More information about the linux-pcmcia
mailing list