X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fkernel%2Fbutton-hotplug%2Fsrc%2Fbutton-hotplug.c;h=41fdf3a256280336dd09fe0b0860c574c666c45c;hb=e5c9380c4d76b5dfa3ab8c519a7b3a283e9ed15e;hp=8f84eb108463b80ae185b9708aed0b2999b83803;hpb=85b845cbbce5693d59012bfc62bcb02d00bb1800;p=openwrt-github%2F.git diff --git a/package/kernel/button-hotplug/src/button-hotplug.c b/package/kernel/button-hotplug/src/button-hotplug.c index 8f84eb1084..41fdf3a256 100644 --- a/package/kernel/button-hotplug/src/button-hotplug.c +++ b/package/kernel/button-hotplug/src/button-hotplug.c @@ -208,7 +208,6 @@ static int button_hotplug_create_event(const char *name, unsigned long seen, /* -------------------------------------------------------------------------*/ -#ifdef CONFIG_HOTPLUG static int button_get_index(unsigned int code) { int i; @@ -239,12 +238,6 @@ static void button_hotplug_event(struct input_handle *handle, (seen - priv->seen[btn]) / HZ, value); priv->seen[btn] = seen; } -#else -static void button_hotplug_event(struct input_handle *handle, - unsigned int type, unsigned int code, int value) -{ -} -#endif /* CONFIG_HOTPLUG */ static int button_hotplug_connect(struct input_handler *handler, struct input_dev *dev, const struct input_device_id *id)