Skip to content

Commit

Permalink
[libata] Shuffle DRV_xxx in core and SiS drivers, to kill warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Feb 9, 2007
1 parent d24bbbf commit fda0efc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down
1 change: 0 additions & 1 deletion drivers/ata/libata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions drivers/ata/pata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions drivers/ata/sata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit fda0efc

Please sign in to comment.