Use /dev/rfkill instead of /dev/rfkill_backport
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 20 Aug 2009 20:46:43 +0000 (13:46 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 20 Aug 2009 20:46:43 +0000 (13:46 -0700)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/patches/03-rfkill.patch

index 6b9f11dc4bb9304658eda4deab06ed6cba6f7805..0e6ad9d19452a88e65abf9fe1535146735340d1d 100644 (file)
@@ -117,7 +117,7 @@ just keep /dev/rfkill and not /dev/rfkill_backport.
  static long rfkill_fop_ioctl(struct file *file, unsigned int cmd,
                             unsigned long arg)
  {
-@@ -1193,14 +1193,14 @@
+@@ -1193,9 +1193,9 @@
        .write          = rfkill_fop_write,
        .poll           = rfkill_fop_poll,
        .release        = rfkill_fop_release,
@@ -128,12 +128,6 @@ just keep /dev/rfkill and not /dev/rfkill_backport.
  #endif
  };
  
- static struct miscdevice rfkill_miscdev = {
--      .name   = "rfkill",
-+      .name   = "rfkill_backport",
-       .fops   = &rfkill_fops,
-       .minor  = MISC_DYNAMIC_MINOR,
- };
 @@ -1223,7 +1223,7 @@
                goto out;
        }