diff options
Diffstat (limited to 'drivers/ide/pci/it8213.c')
-rw-r--r-- | drivers/ide/pci/it8213.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/pci/it8213.c b/drivers/ide/pci/it8213.c index 451b87fd8217..6eba8f188264 100644 --- a/drivers/ide/pci/it8213.c +++ b/drivers/ide/pci/it8213.c | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <linux/ide.h> | 14 | #include <linux/ide.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | 16 | ||
17 | #define DRV_NAME "it8213" | ||
18 | |||
17 | /** | 19 | /** |
18 | * it8213_set_pio_mode - set host controller for PIO mode | 20 | * it8213_set_pio_mode - set host controller for PIO mode |
19 | * @drive: drive | 21 | * @drive: drive |
@@ -156,7 +158,7 @@ static const struct ide_port_ops it8213_port_ops = { | |||
156 | }; | 158 | }; |
157 | 159 | ||
158 | static const struct ide_port_info it8213_chipset __devinitdata = { | 160 | static const struct ide_port_info it8213_chipset __devinitdata = { |
159 | .name = "IT8213", | 161 | .name = DRV_NAME, |
160 | .enablebits = { {0x41, 0x80, 0x80} }, | 162 | .enablebits = { {0x41, 0x80, 0x80} }, |
161 | .port_ops = &it8213_port_ops, | 163 | .port_ops = &it8213_port_ops, |
162 | .host_flags = IDE_HFLAG_SINGLE, | 164 | .host_flags = IDE_HFLAG_SINGLE, |