diff options
Diffstat (limited to 'skey.c')
-rw-r--r-- | skey.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -16,27 +16,27 @@ * Unsigned ints containing the BCM pin numbers for the pins used, __initdata * helps with the loading and unloading of data in memory */ -static __initdata unsigned int column_pins[10] = {10, 24, 23, 22, 27, 18, 17, 15, 14, 4}; -static __initdata unsigned int row_pins[3] = {3, 6, 5}; +static unsigned int column_pins[10] = {10, 24, 23, 22, 27, 18, 17, 15, 14, 4}; +static unsigned int row_pins[3] = {3, 6, 5}; /* * GPIO labels */ -static __initdata char * clabels[10] = {"C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7", "C8", "C9",}; -static __initdata char * rlabels[3] = {"R0", "R1", "R2"}; +static char * clabels[10] = {"C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7", "C8", "C9",}; +static char * rlabels[3] = {"R0", "R1", "R2"}; /* * task struct for setting up the thread */ -__initdata static struct task_struct *update_task; +static struct task_struct *update_task; /* * input.h input device */ -__initdata struct input_dev * skey_dev; +struct input_dev * skey_dev; /* * Name and ID */ -__initdata struct input_id skey_id; -__initdata char * skey_name = "Switch Keyboard for the Omnicom"; +struct input_id skey_id; +char * skey_name = "Switch Keyboard for the Omnicom"; /* *This function is called every timer-period to actually read the keyboard */ |