summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-09-27 06:25:06 -0400
committerJens Axboe <axboe@carl.home.kernel.dk>2007-10-10 09:25:59 +0200
commit3084f0c6105a71e43225c36b4d97c1407988a242 (patch)
tree3c8add2abeebbfaf707d4255317671feed094ae0
parented155a95a4eb7d8dae61b64ab394314c5195e414 (diff)
downloadlinux-3.10-3084f0c6105a71e43225c36b4d97c1407988a242.tar.gz
linux-3.10-3084f0c6105a71e43225c36b4d97c1407988a242.tar.bz2
linux-3.10-3084f0c6105a71e43225c36b4d97c1407988a242.zip
drivers/block/umem: move private include away from include/linux
Move include/linux/umem.h to drivers/block, as umem.c is the only user, and its not an exported header. Move the PCI_{VENDOR,DEVICE}_ID_* constants to include/linux/pci_ids.h. Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/block/umem.c2
-rw-r--r--drivers/block/umem.h (renamed from include/linux/umem.h)5
-rw-r--r--include/linux/pci_ids.h5
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/block/umem.c b/drivers/block/umem.c
index be7fac86725..33ef7661e1c 100644
--- a/drivers/block/umem.c
+++ b/drivers/block/umem.c
@@ -52,7 +52,7 @@
#include <linux/fcntl.h> /* O_ACCMODE */
#include <linux/hdreg.h> /* HDIO_GETGEO */
-#include <linux/umem.h>
+#include "umem.h"
#include <asm/uaccess.h>
#include <asm/io.h>
diff --git a/include/linux/umem.h b/drivers/block/umem.h
index f36ebfc32bf..3a3819afed9 100644
--- a/include/linux/umem.h
+++ b/drivers/block/umem.h
@@ -125,11 +125,6 @@ struct mm_dma_desc {
__le64 sem_control_bits;
} __attribute__((aligned(8)));
-#define PCI_VENDOR_ID_MICRO_MEMORY 0x1332
-#define PCI_DEVICE_ID_MICRO_MEMORY_5415CN 0x5415
-#define PCI_DEVICE_ID_MICRO_MEMORY_5425CN 0x5425
-#define PCI_DEVICE_ID_MICRO_MEMORY_6155 0x6155
-
/* bits for card->flags */
#define UM_FLAG_DMA_IN_REGS 1
#define UM_FLAG_NO_BYTE_STATUS 2
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 55f307ffbf9..506b9ae241f 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1736,6 +1736,11 @@
#define PCI_VENDOR_ID_RADISYS 0x1331
+#define PCI_VENDOR_ID_MICRO_MEMORY 0x1332
+#define PCI_DEVICE_ID_MICRO_MEMORY_5415CN 0x5415
+#define PCI_DEVICE_ID_MICRO_MEMORY_5425CN 0x5425
+#define PCI_DEVICE_ID_MICRO_MEMORY_6155 0x6155
+
#define PCI_VENDOR_ID_DOMEX 0x134a
#define PCI_DEVICE_ID_DOMEX_DMX3191D 0x0001