提交 6d8333c2 编写于 作者: U Uwe Kleine-König 提交者: Greg Kroah-Hartman

UIO: minor style and comment fixes

Signed-off-by: NUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: NHans J. Koch <hjk@linutronix.de>
上级 4d80d594
...@@ -36,7 +36,7 @@ struct uio_mem { ...@@ -36,7 +36,7 @@ struct uio_mem {
struct uio_map *map; struct uio_map *map;
}; };
#define MAX_UIO_MAPS 5 #define MAX_UIO_MAPS 5
struct uio_device; struct uio_device;
...@@ -82,11 +82,11 @@ static inline int __must_check ...@@ -82,11 +82,11 @@ static inline int __must_check
extern void uio_unregister_device(struct uio_info *info); extern void uio_unregister_device(struct uio_info *info);
extern void uio_event_notify(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_CUSTOM -1
#define UIO_IRQ_NONE -2 #define UIO_IRQ_NONE -2
/* defines for uio_device->memtype */ /* defines for uio_mem->memtype */
#define UIO_MEM_NONE 0 #define UIO_MEM_NONE 0
#define UIO_MEM_PHYS 1 #define UIO_MEM_PHYS 1
#define UIO_MEM_LOGICAL 2 #define UIO_MEM_LOGICAL 2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册