X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Finput%2Fpower.c;h=75d018759cd58235804dbd3346e0f7726035ea4a;hb=655816e49867082d13ece0da31d76e12cc0de4a5;hp=526e6070600c8a02a29df0283d55fcae79217b0f;hpb=61fb46c5b3578fda7cc780e8bc53b3e8f8c1a143;p=linux-2.6-omap-h63xx.git diff --git a/drivers/input/power.c b/drivers/input/power.c index 526e6070600..75d018759cd 100644 --- a/drivers/input/power.c +++ b/drivers/input/power.c @@ -28,7 +28,6 @@ */ #include -#include #include #include #include @@ -99,7 +98,7 @@ static void power_event(struct input_handle *handle, unsigned int type, static struct input_handle *power_connect(struct input_handler *handler, struct input_dev *dev, - struct input_device_id *id) + const struct input_device_id *id) { struct input_handle *handle; @@ -121,7 +120,7 @@ static void power_disconnect(struct input_handle *handle) kfree(handle); } -static struct input_device_id power_ids[] = { +static const struct input_device_id power_ids[] = { { .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT, .evbit = { BIT(EV_KEY) },