diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-01-31 07:43:15 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:37 -0500 |
commit | fda0efc5977864a90f365aeeb13f2546854e2aa9 (patch) | |
tree | b022d56f648d3686f7d959d5a0be85adc5734694 | |
parent | d24bbbf251e70bf984cbaa9b1fcadc5f56fc3ae9 (diff) |
[libata] Shuffle DRV_xxx in core and SiS drivers, to kill warnings
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/libata-core.c | 3 | ||||
-rw-r--r-- | drivers/ata/libata.h | 1 | ||||
-rw-r--r-- | drivers/ata/pata_sis.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_sis.c | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index b3091de894c2..ed11ee41673c 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -59,6 +59,9 @@ | |||
59 | 59 | ||
60 | #include "libata.h" | 60 | #include "libata.h" |
61 | 61 | ||
62 | #define DRV_VERSION "2.10" /* must be exactly four chars */ | ||
63 | |||
64 | |||
62 | /* debounce timing parameters in msecs { interval, duration, timeout } */ | 65 | /* debounce timing parameters in msecs { interval, duration, timeout } */ |
63 | const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 }; | 66 | const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 }; |
64 | const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 }; | 67 | const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 }; |
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 94eeb3d3c674..06ccf230e3c2 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -29,7 +29,6 @@ | |||
29 | #define __LIBATA_H__ | 29 | #define __LIBATA_H__ |
30 | 30 | ||
31 | #define DRV_NAME "libata" | 31 | #define DRV_NAME "libata" |
32 | #define DRV_VERSION "2.00" /* must be exactly four chars */ | ||
33 | 32 | ||
34 | struct ata_scsi_args { | 33 | struct ata_scsi_args { |
35 | struct ata_device *dev; | 34 | struct ata_device *dev; |
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index 1c5219f3ffde..88ed2aad4629 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/ata.h> | 34 | #include <linux/ata.h> |
35 | #include "libata.h" | 35 | #include "libata.h" |
36 | 36 | ||
37 | #undef DRV_NAME /* already defined in libata.h, for libata-core */ | ||
37 | #define DRV_NAME "pata_sis" | 38 | #define DRV_NAME "pata_sis" |
38 | #define DRV_VERSION "0.4.5" | 39 | #define DRV_VERSION "0.4.5" |
39 | 40 | ||
diff --git a/drivers/ata/sata_sis.c b/drivers/ata/sata_sis.c index 7e51f1c0f7cb..4bcb94866333 100644 --- a/drivers/ata/sata_sis.c +++ b/drivers/ata/sata_sis.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <linux/libata.h> | 42 | #include <linux/libata.h> |
43 | #include "libata.h" | 43 | #include "libata.h" |
44 | 44 | ||
45 | #undef DRV_NAME /* already defined in libata.h, for libata-core */ | ||
45 | #define DRV_NAME "sata_sis" | 46 | #define DRV_NAME "sata_sis" |
46 | #define DRV_VERSION "0.7" | 47 | #define DRV_VERSION "0.7" |
47 | 48 | ||