summaryrefslogtreecommitdiff
path: root/include/linux/uio_driver.h
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-06-10 09:14:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 21:54:55 -0700
commit6d8333c24d41637f0f847f6e17032189dae08c02 (patch)
tree87c8db2bc6dea90992a42329f665ca657b1293c3 /include/linux/uio_driver.h
parent4d80d59437247075029534adec8d69fce2cfb87a (diff)
downloadlwn-6d8333c24d41637f0f847f6e17032189dae08c02.tar.gz
lwn-6d8333c24d41637f0f847f6e17032189dae08c02.zip
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>
Diffstat (limited to 'include/linux/uio_driver.h')
-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 {
struct uio_map *map;
};
-#define MAX_UIO_MAPS 5
+#define MAX_UIO_MAPS 5
struct uio_device;
@@ -82,11 +82,11 @@ static inline int __must_check
extern void uio_unregister_device(struct uio_info *info);
extern void uio_event_notify(struct uio_info *info);
-/* defines for uio_device->irq */
+/* defines for uio_info->irq */
#define UIO_IRQ_CUSTOM -1
#define UIO_IRQ_NONE -2
-/* defines for uio_device->memtype */
+/* defines for uio_mem->memtype */
#define UIO_MEM_NONE 0
#define UIO_MEM_PHYS 1
#define UIO_MEM_LOGICAL 2