mirror of https://gitee.com/openkylin/linux.git
staging: media: lirc: Convert 'unsigned' to 'unsigned int'
Mention data type along with the variable to resolve checkpatch issue. Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
46c539054e
commit
a0ba7fcf6a
|
@ -73,7 +73,7 @@ static void usb_tx_callback(struct urb *urb);
|
||||||
|
|
||||||
/* VFD file_operations function prototypes */
|
/* VFD file_operations function prototypes */
|
||||||
static int vfd_open(struct inode *inode, struct file *file);
|
static int vfd_open(struct inode *inode, struct file *file);
|
||||||
static long vfd_ioctl(struct file *file, unsigned cmd, unsigned long arg);
|
static long vfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
|
||||||
static int vfd_close(struct inode *inode, struct file *file);
|
static int vfd_close(struct inode *inode, struct file *file);
|
||||||
static ssize_t vfd_write(struct file *file, const char __user *buf,
|
static ssize_t vfd_write(struct file *file, const char __user *buf,
|
||||||
size_t n_bytes, loff_t *pos);
|
size_t n_bytes, loff_t *pos);
|
||||||
|
@ -243,7 +243,7 @@ static int vfd_open(struct inode *inode, struct file *file)
|
||||||
* Called when the VFD device (e.g. /dev/usb/lcd)
|
* Called when the VFD device (e.g. /dev/usb/lcd)
|
||||||
* is closed by the application.
|
* is closed by the application.
|
||||||
*/
|
*/
|
||||||
static long vfd_ioctl(struct file *file, unsigned cmd, unsigned long arg)
|
static long vfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||||
{
|
{
|
||||||
struct sasem_context *context;
|
struct sasem_context *context;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue