summaryrefslogtreecommitdiff
path: root/skey.c
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-12-13 21:30:26 -0500
committerknolax <1339802534.kk@gmail.com>2017-12-13 21:30:26 -0500
commitb610bc48841769c957a150a608e766eec0f10039 (patch)
tree9d6a80ab702d2fa01d04e8b5328909b53e940115 /skey.c
parentd995044b0f4a04297f5ccb80291427caeaac773e (diff)
removed __initdata from all the variables because none of them are actually only used during init
Diffstat (limited to 'skey.c')
-rw-r--r--skey.c16
1 files 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
*/