提交 fda0efc5 编写于 作者: J Jeff Garzik

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

Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 d24bbbf2
...@@ -59,6 +59,9 @@ ...@@ -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 };
......
...@@ -29,7 +29,6 @@ ...@@ -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;
......
...@@ -34,6 +34,7 @@ ...@@ -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"
......
...@@ -42,6 +42,7 @@ ...@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册