diff options
author | Alan Cox <alan@redhat.com> | 2006-12-15 16:08:50 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:29 -0500 |
commit | d4013f07bd5380178bf28ef1cd76649779367288 (patch) | |
tree | 93e9dc99e79b7b858912474dd2e7fc1578c22a1f | |
parent | f20b16ff7c19d1c369ee07470952aca093551ed0 (diff) |
[PATCH] pci: Move PCI_VDEVICE from libata to core
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>
-rw-r--r-- | include/linux/libata.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 84f12e8cae71..dab4dc505ce7 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -109,10 +109,6 @@ static inline u32 ata_msg_init(int dval, int default_msg_enable_bits) | |||
109 | #define ATA_TAG_POISON 0xfafbfcfdU | 109 | #define ATA_TAG_POISON 0xfafbfcfdU |
110 | 110 | ||
111 | /* move to PCI layer? */ | 111 | /* move to PCI layer? */ |
112 | #define PCI_VDEVICE(vendor, device) \ | ||
113 | PCI_VENDOR_ID_##vendor, (device), \ | ||
114 | PCI_ANY_ID, PCI_ANY_ID, 0, 0 | ||
115 | |||
116 | static inline struct device *pci_dev_to_dev(struct pci_dev *pdev) | 112 | static inline struct device *pci_dev_to_dev(struct pci_dev *pdev) |
117 | { | 113 | { |
118 | return &pdev->dev; | 114 | return &pdev->dev; |