Explorar o código

[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>
Adrian Bunk %!s(int64=20) %!d(string=hai) anos
pai
achega
be5e3383a9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/usb/input/usbkbd.c

+ 2 - 1
drivers/usb/input/usbkbd.c

@@ -133,7 +133,8 @@ resubmit:
 				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;