UIO: fix up inapposite whiteplace in uio head file
PATCH 1/1 UIO: fix up inapposite whiteplace in uio head file
Whitespace is used in the inapposite place,
which makes checkpatch complain.
Signed-off-by Qiang Su <[email protected]>
--- include/linux/uio_driver.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
include/linux/uio_driver.h +12 -12
@@ -24,10 +24,10 @@ struct uio_map;* struct uio_mem - description of a UIO memory region * @name: name of the memory region for identification * @addr: address of the device's memory rounded to page -* size (phys_addr is used since addr can be -* logical, virtual, or physical & phys_addr_t -* should always be large enough to handle any of -* the address types) +* size (phys_addr is used since addr can be +* logical, virtual, or physical & phys_addr_t +* should always be large enough to handle any of +* the address types) * @offs: offset of device memory within the page * @size: size of IO (multiple of page size) * @memtype: type of memory addr points to
@@ -67,16 +67,16 @@ struct uio_port {#define MAX_UIO_PORT_REGIONS 5struct uio_device { -struct module *owner; +struct module *owner;struct device dev; -int minor; -atomic_t event; -struct fasync_struct *async_queue; -wait_queue_head_t wait; -struct uio_info *info; +int minor; +atomic_t event; +struct fasync_struct *async_queue; +wait_queue_head_t wait; +struct uio_info *info;struct mutex info_lock; -struct kobject *map_dir; -struct kobject *portio_dir; +struct kobject *map_dir; +struct kobject *portio_dir; };/**
Signature · 1 line
2.12.3