aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-04-22 15:07:00 -0700
committerGreg KH <gregkh@suse.de>2005-04-22 15:07:00 -0700
commitbe5e3383a95446e933be198d3025df10a072794b (patch)
tree1bd89cd23ee98127f08ccd076f4485a2e8138df7 /drivers/usb
parentcef11127ea59cc5ac8fb956c355727999c6796dc (diff)
downloadkernel_samsung_smdk4412-be5e3383a95446e933be198d3025df10a072794b.tar.gz
kernel_samsung_smdk4412-be5e3383a95446e933be198d3025df10a072794b.tar.bz2
kernel_samsung_smdk4412-be5e3383a95446e933be198d3025df10a072794b.zip
[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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/input/usbkbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/input/usbkbd.c b/drivers/usb/input/usbkbd.c
index 01514b0551b..7038fb9d1ce 100644
--- a/drivers/usb/input/usbkbd.c
+++ b/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;