]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/uio_driver.h
[IPVS]: Kill some bloat
[linux-2.6-omap-h63xx.git] / include / linux / uio_driver.h
index 44c28e94df505f86b9274904d87f98925d589724..973386d439da24ffef58636347b3463c5aa038b8 100644 (file)
 #include <linux/fs.h>
 #include <linux/interrupt.h>
 
+struct uio_map;
+
 /**
  * struct uio_mem - description of a UIO memory region
- * @kobj:              kobject for this mapping
  * @addr:              address of the device's memory
  * @size:              size of IO
  * @memtype:           type of memory addr points to
  * @internal_addr:     ioremap-ped version of addr, for driver internal use
+ * @map:               for use by the UIO core only.
  */
 struct uio_mem {
-       struct kobject          kobj;
        unsigned long           addr;
        unsigned long           size;
        int                     memtype;
        void __iomem            *internal_addr;
+       struct uio_map          *map;
 };
 
 #define MAX_UIO_MAPS   5