From: Peter Huewe <peterhuewe@xxxxxx> Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions from drivers/block/DAC960.c linux version 2.6.30 Signed-off-by: Peter Huewe <peterhuewe@xxxxxx> --- diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index f22ed6c..5b4a48b 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c @@ -7209,7 +7209,7 @@ static struct pci_driver DAC960_pci_driver = { .remove = DAC960_Remove, }; -static int DAC960_init_module(void) +static int __init DAC960_init_module(void) { int ret; @@ -7221,7 +7221,7 @@ static int DAC960_init_module(void) return ret; } -static void DAC960_cleanup_module(void) +static void __exit DAC960_cleanup_module(void) { int i; -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html