]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
[libata] Shuffle DRV_xxx in core and SiS drivers, to kill warnings
authorJeff Garzik <jeff@garzik.org>
Wed, 31 Jan 2007 12:43:15 +0000 (07:43 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:37 +0000 (17:39 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata.h
drivers/ata/pata_sis.c
drivers/ata/sata_sis.c

index b3091de894c2eb5a50c3f0e7e113c289f7e9355d..ed11ee41673cd20d23d8071b8ecfe2297dce2556 100644 (file)
@@ -59,6 +59,9 @@
 
 #include "libata.h"
 
+#define DRV_VERSION    "2.10"  /* must be exactly four chars */
+
+
 /* debounce timing parameters in msecs { interval, duration, timeout } */
 const unsigned long sata_deb_timing_normal[]           = {   5,  100, 2000 };
 const unsigned long sata_deb_timing_hotplug[]          = {  25,  500, 2000 };
index 94eeb3d3c674b278d271b2fcf9d04cbd55bf1df8..06ccf230e3c2b97308879b87ef93b98d504902b4 100644 (file)
@@ -29,7 +29,6 @@
 #define __LIBATA_H__
 
 #define DRV_NAME       "libata"
-#define DRV_VERSION    "2.00"  /* must be exactly four chars */
 
 struct ata_scsi_args {
        struct ata_device       *dev;
index 1c5219f3ffded1724c22585372993995131af96a..88ed2aad462971c3afebe9ee98f361f209139a41 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/ata.h>
 #include "libata.h"
 
+#undef DRV_NAME                /* already defined in libata.h, for libata-core */
 #define DRV_NAME       "pata_sis"
 #define DRV_VERSION    "0.4.5"
 
index 7e51f1c0f7cb13630a1bd9a864743c9dab8ab0ce..4bcb948663339f203c4ed4a932a13de5ed401ab3 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/libata.h>
 #include "libata.h"
 
+#undef DRV_NAME                /* already defined in libata.h, for libata-core */
 #define DRV_NAME       "sata_sis"
 #define DRV_VERSION    "0.7"