Skip to content

Commit

Permalink
Input: remove use of __devinitconst
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Bill Pemberton authored and Dmitry Torokhov committed Nov 24, 2012
1 parent d6f6dfd commit 78f50c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/locomokbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ MODULE_LICENSE("GPL");
#define KEY_CENTER KEY_F15

static const unsigned char
locomokbd_keycode[LOCOMOKBD_NUMKEYS] __devinitconst = {
locomokbd_keycode[LOCOMOKBD_NUMKEYS] = {
0, KEY_ESC, KEY_ACTIVITY, 0, 0, 0, 0, 0, 0, 0, /* 0 - 9 */
0, 0, 0, 0, 0, 0, 0, KEY_MENU, KEY_HOME, KEY_CONTACT, /* 10 - 19 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 20 - 29 */
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/keyboard/mpr121_touchkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ struct mpr121_init_register {
u8 val;
};

static const struct mpr121_init_register init_reg_table[] __devinitconst = {
static const struct mpr121_init_register init_reg_table[] = {
{ MHD_RISING_ADDR, 0x1 },
{ NHD_RISING_ADDR, 0x1 },
{ MHD_FALLING_ADDR, 0x1 },
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/serio/xilinx_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ static int __devexit xps2_of_remove(struct platform_device *of_dev)
}

/* Match table for of_platform binding */
static const struct of_device_id xps2_of_match[] __devinitconst = {
static const struct of_device_id xps2_of_match[] = {
{ .compatible = "xlnx,xps-ps2-1.00.a", },
{ /* end of list */ },
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/st1232.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ static const struct i2c_device_id st1232_ts_id[] = {
MODULE_DEVICE_TABLE(i2c, st1232_ts_id);

#ifdef CONFIG_OF
static const struct of_device_id st1232_ts_dt_ids[] __devinitconst = {
static const struct of_device_id st1232_ts_dt_ids[] = {
{ .compatible = "sitronix,st1232", },
{ }
};
Expand Down

0 comments on commit 78f50c2

Please sign in to comment.