Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: pata_rdc: remove DRIVER macros

They are not needed, and the version one was pointless now that the code
is merged into the tree.

Cc: Kevin Huang <Kevin.Huang@rdc.com.tw>
Cc: Tomy Wang <Tomy.Wang@rdc.com.tw>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+2 -12
+2 -12
drivers/staging/pata_rdc/pata_rdc.c
··· 10 10 11 11 #include "pata_rdc.h" 12 12 13 - /* Driver Info. */ 14 - #define DRIVER_NAME "pata_rdc" /* sata_rdc for SATA */ 15 - #define DRIVER_VERSION "2.6.28" /* based on kernel version. */ 16 - /* because each kernel main version has 17 - * its libata, we follow kernel to 18 - * determine the last libata version. 19 - */ 20 - 21 - 22 13 static const struct pci_device_id rdc_pata_id_table[] = { 23 14 { PCI_DEVICE(0x17F3, 0x1011), RDC_17F31011}, 24 15 { PCI_DEVICE(0x17F3, 0x1012), RDC_17F31012}, ··· 931 940 932 941 /* pata host template */ 933 942 static struct scsi_host_template rdc_pata_sht = { 934 - ATA_BMDMA_SHT(DRIVER_NAME), 943 + ATA_BMDMA_SHT(KBUILD_MODNAME), 935 944 }; 936 945 937 946 static struct ata_port_operations rdc_pata_ops = { ··· 991 1000 992 1001 /* a pci driver */ 993 1002 static struct pci_driver rdc_pata_driver = { 994 - .name = DRIVER_NAME, 1003 + .name = KBUILD_MODNAME, 995 1004 .id_table = rdc_pata_id_table, 996 1005 .probe = rdc_init_one, 997 1006 .remove = ata_pci_remove_one, ··· 1016 1025 1017 1026 MODULE_LICENSE("GPL"); 1018 1027 MODULE_DESCRIPTION("RDC PCI IDE Driver"); 1019 - MODULE_VERSION(DRIVER_VERSION);