Просмотр исходного кода

[libata] Shuffle DRV_xxx in core and SiS drivers, to kill warnings

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Jeff Garzik 18 лет назад
Родитель
Сommit
fda0efc597
4 измененных файлов с 5 добавлено и 1 удалено
  1. 3 0
      drivers/ata/libata-core.c
  2. 0 1
      drivers/ata/libata.h
  3. 1 0
      drivers/ata/pata_sis.c
  4. 1 0
      drivers/ata/sata_sis.c

+ 3 - 0
drivers/ata/libata-core.c

@@ -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 };

+ 0 - 1
drivers/ata/libata.h

@@ -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;

+ 1 - 0
drivers/ata/pata_sis.c

@@ -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"
 

+ 1 - 0
drivers/ata/sata_sis.c

@@ -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"