compat-wireless: fix patches/24-pcmcia.patch for next-20120524
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 29 May 2012 19:50:42 +0000 (12:50 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 29 May 2012 19:50:42 +0000 (12:50 -0700)
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/24-pcmcia.patch

index 0d07aa71a38e45098dd0a69fa533d9579e0379f1..a2bc8423d79e7982486db1a99a3d3e5d4cb15be8 100644 (file)
        }
  
        do {
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
-               register unsigned int iobase = info->p_dev->resource[0]->start;
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+               unsigned int iobase = info->p_dev->resource[0]->start;
 +#else
-+              register unsigned int iobase = info->p_dev->io.BasePort1;
++              unsigned int iobase = info->p_dev->io.BasePort1;
 +#endif
-               register unsigned int offset;
-               register unsigned char command;
-               register unsigned long ready_bit;
+               unsigned int offset;
+               unsigned char command;
+               unsigned long ready_bit;
 @@ -378,7 +391,11 @@ static void bluecard_receive(bluecard_in
                return;
        }
  
        do {
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
-               register unsigned int iobase = info->p_dev->resource[0]->start;
+               unsigned int iobase = info->p_dev->resource[0]->start;
 +#else
-+              register unsigned int iobase = info->p_dev->io.BasePort1;
++              unsigned int iobase = info->p_dev->io.BasePort1;
 +#endif
                register struct sk_buff *skb;
-               register int len;
+               int len;
  
 @@ -224,7 +228,11 @@ static void bt3c_receive(bt3c_info_t *in
                return;
  
        do {
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
-               register unsigned int iobase = info->p_dev->resource[0]->start;
+               unsigned int iobase = info->p_dev->resource[0]->start;
 +#else
-+              register unsigned int iobase = info->p_dev->io.BasePort1;
++              unsigned int iobase = info->p_dev->io.BasePort1;
 +#endif
                register struct sk_buff *skb;
-               register int len;
+               int len;
  
 @@ -181,7 +185,11 @@ static void btuart_receive(btuart_info_t
                return;
  
        do {
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
-               register unsigned int iobase = info->p_dev->resource[0]->start;
+               unsigned int iobase = info->p_dev->resource[0]->start;
 +#else
-+              register unsigned int iobase = info->p_dev->io.BasePort1;
++              unsigned int iobase = info->p_dev->io.BasePort1;
 +#endif
                register struct sk_buff *skb;
                register int len;