From b610bc48841769c957a150a608e766eec0f10039 Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Wed, 13 Dec 2017 21:30:26 -0500 Subject: removed __initdata from all the variables because none of them are actually only used during init --- skey.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/skey.c b/skey.c index 2ef5825..00432c9 100644 --- a/skey.c +++ b/skey.c @@ -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 */ -- cgit v1.1