diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-08 05:36:26 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 11:20:24 -0400 |
commit | 2e9b981a7c63ee8278df6823f8389d69dad1a499 (patch) | |
tree | 7d88e2a03a3202ba26ce7dbcf6909e28d44f690c /drivers/mtd | |
parent | 1cc745d1cdca8086b472a06671f0830fc0e98861 (diff) |
pcmcia: move driver name to struct pcmcia_driver
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/maps/pcmciamtd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c index 388db9ecf222..214c695a2398 100644 --- a/drivers/mtd/maps/pcmciamtd.c +++ b/drivers/mtd/maps/pcmciamtd.c | |||
@@ -750,9 +750,7 @@ static struct pcmcia_device_id pcmciamtd_ids[] = { | |||
750 | MODULE_DEVICE_TABLE(pcmcia, pcmciamtd_ids); | 750 | MODULE_DEVICE_TABLE(pcmcia, pcmciamtd_ids); |
751 | 751 | ||
752 | static struct pcmcia_driver pcmciamtd_driver = { | 752 | static struct pcmcia_driver pcmciamtd_driver = { |
753 | .drv = { | 753 | .name = "pcmciamtd", |
754 | .name = "pcmciamtd" | ||
755 | }, | ||
756 | .probe = pcmciamtd_probe, | 754 | .probe = pcmciamtd_probe, |
757 | .remove = pcmciamtd_detach, | 755 | .remove = pcmciamtd_detach, |
758 | .owner = THIS_MODULE, | 756 | .owner = THIS_MODULE, |