]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/rfkill/rfkill-input.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
[linux-2.6-omap-h63xx.git] / net / rfkill / rfkill-input.c
index e5c840c30284502e809669090c40b8c79126f787..9f746be588543813b8e9e686ffef3979b6ddb046 100644 (file)
@@ -55,7 +55,7 @@ static void rfkill_task_handler(struct work_struct *work)
 
 static void rfkill_schedule_toggle(struct rfkill_task *task)
 {
-       unsigned int flags;
+       unsigned long flags;
 
        spin_lock_irqsave(&task->lock, flags);
 
@@ -83,7 +83,7 @@ static DEFINE_RFKILL_TASK(rfkill_wlan, RFKILL_TYPE_WLAN);
 static DEFINE_RFKILL_TASK(rfkill_bt, RFKILL_TYPE_BLUETOOTH);
 
 static void rfkill_event(struct input_handle *handle, unsigned int type,
-                       unsigned int code, int down)
+                       unsigned int code, int down)
 {
        if (type == EV_KEY && down == 1) {
                switch (code) {