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

Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Jeff Garzik 2007-01-31 07:43:15 -05:00
parent d24bbbf251
commit fda0efc597
4 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,9 @@
#include "libata.h" #include "libata.h"
#define DRV_VERSION "2.10" /* must be exactly four chars */
/* debounce timing parameters in msecs { interval, duration, timeout } */ /* debounce timing parameters in msecs { interval, duration, timeout } */
const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 }; const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 };
const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 }; const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 };

View File

@ -29,7 +29,6 @@
#define __LIBATA_H__ #define __LIBATA_H__
#define DRV_NAME "libata" #define DRV_NAME "libata"
#define DRV_VERSION "2.00" /* must be exactly four chars */
struct ata_scsi_args { struct ata_scsi_args {
struct ata_device *dev; struct ata_device *dev;

View File

@ -34,6 +34,7 @@
#include <linux/ata.h> #include <linux/ata.h>
#include "libata.h" #include "libata.h"
#undef DRV_NAME /* already defined in libata.h, for libata-core */
#define DRV_NAME "pata_sis" #define DRV_NAME "pata_sis"
#define DRV_VERSION "0.4.5" #define DRV_VERSION "0.4.5"

View File

@ -42,6 +42,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#include "libata.h" #include "libata.h"
#undef DRV_NAME /* already defined in libata.h, for libata-core */
#define DRV_NAME "sata_sis" #define DRV_NAME "sata_sis"
#define DRV_VERSION "0.7" #define DRV_VERSION "0.7"