diff options
| -rw-r--r-- | drivers/ata/pata_isapnp.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/ata/pata_isapnp.c b/drivers/ata/pata_isapnp.c index b33d1f99b3a4..994f168b54a8 100644 --- a/drivers/ata/pata_isapnp.c +++ b/drivers/ata/pata_isapnp.c | |||
| @@ -128,20 +128,8 @@ static struct pnp_driver isapnp_driver = { | |||
| 128 | .remove = isapnp_remove_one, | 128 | .remove = isapnp_remove_one, |
| 129 | }; | 129 | }; |
| 130 | 130 | ||
| 131 | static int __init isapnp_init(void) | 131 | module_pnp_driver(isapnp_driver); |
| 132 | { | ||
| 133 | return pnp_register_driver(&isapnp_driver); | ||
| 134 | } | ||
| 135 | |||
| 136 | static void __exit isapnp_exit(void) | ||
| 137 | { | ||
| 138 | pnp_unregister_driver(&isapnp_driver); | ||
| 139 | } | ||
| 140 | |||
| 141 | MODULE_AUTHOR("Alan Cox"); | 132 | MODULE_AUTHOR("Alan Cox"); |
| 142 | MODULE_DESCRIPTION("low-level driver for ISA PnP ATA"); | 133 | MODULE_DESCRIPTION("low-level driver for ISA PnP ATA"); |
| 143 | MODULE_LICENSE("GPL"); | 134 | MODULE_LICENSE("GPL"); |
| 144 | MODULE_VERSION(DRV_VERSION); | 135 | MODULE_VERSION(DRV_VERSION); |
| 145 | |||
| 146 | module_init(isapnp_init); | ||
| 147 | module_exit(isapnp_exit); | ||
