From: Magnus Damm <[EMAIL PROTECTED]>
This patch contains quick fixes that prevents KBUILD_MODNAME conflicts. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> drivers/ide/ide-disk.c | 2 ++ drivers/ide/ide-floppy.c | 2 ++ drivers/ide/ide-tape.c | 2 ++ drivers/scsi/ide-scsi.c | 2 ++ 4 files changed, 8 insertions(+) Index: a/drivers/ide/ide-disk.c =================================================================== --- a.orig/drivers/ide/ide-disk.c +++ a/drivers/ide/ide-disk.c @@ -1273,6 +1273,8 @@ static int idedisk_init (void) return driver_register(&idedisk_driver.gen_driver); } +#undef ide_disk + module_init(idedisk_init); module_exit(idedisk_exit); MODULE_LICENSE("GPL"); Index: a/drivers/ide/ide-floppy.c =================================================================== --- a.orig/drivers/ide/ide-floppy.c +++ a/drivers/ide/ide-floppy.c @@ -2204,6 +2204,8 @@ static int idefloppy_init (void) return driver_register(&idefloppy_driver.gen_driver); } +#undef ide_floppy + module_init(idefloppy_init); module_exit(idefloppy_exit); MODULE_LICENSE("GPL"); Index: a/drivers/ide/ide-tape.c =================================================================== --- a.orig/drivers/ide/ide-tape.c +++ a/drivers/ide/ide-tape.c @@ -4919,6 +4919,8 @@ static int idetape_init (void) return driver_register(&idetape_driver.gen_driver); } +#undef ide_tape + module_init(idetape_init); module_exit(idetape_exit); MODULE_ALIAS_CHARDEV_MAJOR(IDETAPE_MAJOR); Index: a/drivers/scsi/ide-scsi.c =================================================================== --- a.orig/drivers/scsi/ide-scsi.c +++ a/drivers/scsi/ide-scsi.c @@ -1186,6 +1186,8 @@ static void __exit exit_idescsi_module(v driver_unregister(&idescsi_driver.gen_driver); } +#undef ide_scsi + module_init(init_idescsi_module); module_exit(exit_idescsi_module); MODULE_LICENSE("GPL"); -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/