mirror of https://gitee.com/openkylin/linux.git
[PATCH] USB: drivers/usb/input/usbkbd.c: make a function static
This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
cef11127ea
commit
be5e3383a9
|
@ -133,7 +133,8 @@ static void usb_kbd_irq(struct urb *urb, struct pt_regs *regs)
|
|||
kbd->usbdev->devpath, i);
|
||||
}
|
||||
|
||||
int usb_kbd_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
|
||||
static int usb_kbd_event(struct input_dev *dev, unsigned int type,
|
||||
unsigned int code, int value)
|
||||
{
|
||||
struct usb_kbd *kbd = dev->private;
|
||||
|
||||
|
|
Loading…
Reference in New Issue