aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-06-10 03:14:48 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-22 00:54:55 -0400
commit6d8333c24d41637f0f847f6e17032189dae08c02 (patch)
tree87c8db2bc6dea90992a42329f665ca657b1293c3
parent4d80d59437247075029534adec8d69fce2cfb87a (diff)
UIO: minor style and comment fixes
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: Hans J. Koch <hjk@linutronix.de>
-rw-r--r--include/linux/uio_driver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/uio_driver.h b/include/linux/uio_driver.h
index cf65e964102b..cdf338d94b7f 100644
--- a/include/linux/uio_driver.h
+++ b/include/linux/uio_driver.h
@@ -36,7 +36,7 @@ struct uio_mem {
36 struct uio_map *map; 36 struct uio_map *map;
37}; 37};
38 38
39#define MAX_UIO_MAPS 5 39#define MAX_UIO_MAPS 5
40 40
41struct uio_device; 41struct uio_device;
42 42
@@ -82,11 +82,11 @@ static inline int __must_check
82extern void uio_unregister_device(struct uio_info *info); 82extern void uio_unregister_device(struct uio_info *info);
83extern void uio_event_notify(struct uio_info *info); 83extern void uio_event_notify(struct uio_info *info);
84 84
85/* defines for uio_device->irq */ 85/* defines for uio_info->irq */
86#define UIO_IRQ_CUSTOM -1 86#define UIO_IRQ_CUSTOM -1
87#define UIO_IRQ_NONE -2 87#define UIO_IRQ_NONE -2
88 88
89/* defines for uio_device->memtype */ 89/* defines for uio_mem->memtype */
90#define UIO_MEM_NONE 0 90#define UIO_MEM_NONE 0
91#define UIO_MEM_PHYS 1 91#define UIO_MEM_PHYS 1
92#define UIO_MEM_LOGICAL 2 92#define UIO_MEM_LOGICAL 2