]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drivers/block/umem: move private include away from include/linux
authorJeff Garzik <jeff@garzik.org>
Thu, 27 Sep 2007 10:25:06 +0000 (06:25 -0400)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:59 +0000 (09:25 +0200)
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>
drivers/block/umem.c
drivers/block/umem.h [moved from include/linux/umem.h with 95% similarity]
include/linux/pci_ids.h

index be7fac86725e21c27957ea9f5737fa68b87a59fd..33ef7661e1c18ca403e82fd9aec34d09d69633c3 100644 (file)
@@ -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>
similarity index 95%
rename from include/linux/umem.h
rename to drivers/block/umem.h
index f36ebfc32bf6d484b342a8eb123bc573a4d006df..3a3819afed92d77e9dc4c09e24278068943c3956 100644 (file)
@@ -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
index 55f307ffbf96ded1724ebc011fea173dc7cee1e6..506b9ae241fd4b034998e553ac3237e1ef736adf 100644 (file)
 
 #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