mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
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>
This commit is contained in:
parent
4d80d59437
commit
6d8333c24d
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue