]> err.no Git - linux-2.6/commitdiff
[PATCH] pci: Move PCI_VDEVICE from libata to core
authorAlan Cox <alan@redhat.com>
Fri, 15 Dec 2006 21:08:50 +0000 (13:08 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:29 +0000 (17:39 -0500)
Updated diff which doesn't move the comment as per Jeff's request and
corrects the docs as per report on l/k

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/libata.h

index 84f12e8cae712f42c9e6073d24a7514f8482a0a8..dab4dc505ce751196b071c94e6f6e574f606d1a8 100644 (file)
@@ -109,10 +109,6 @@ static inline u32 ata_msg_init(int dval, int default_msg_enable_bits)
 #define ATA_TAG_POISON         0xfafbfcfdU
 
 /* move to PCI layer? */
-#define PCI_VDEVICE(vendor, device)            \
-       PCI_VENDOR_ID_##vendor, (device),       \
-       PCI_ANY_ID, PCI_ANY_ID, 0, 0
-
 static inline struct device *pci_dev_to_dev(struct pci_dev *pdev)
 {
        return &pdev->dev;