Fix hunk for wl1251_main.c on 06-header-changes.patch
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 7 Aug 2009 19:13:33 +0000 (12:13 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 7 Aug 2009 19:13:33 +0000 (12:13 -0700)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/patches/06-header-changes.patch

index 3369185112d2de9e4c37844f67937a6e22a20820..605b8d27456d4114f40c475d705d276211e6f052 100644 (file)
@@ -16,8 +16,8 @@ cases.
  
  struct b43_wldev;
  
---- a/drivers/net/wireless/wl12xx/wl1251_main.c
-+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
+--- a/drivers/net/wireless/wl12xx/wl1251_main.c        2009-08-07 11:42:12.532495607 -0700
++++ b/drivers/net/wireless/wl12xx/wl1251_main.c        2009-08-07 12:08:31.167548696 -0700
 @@ -26,6 +26,9 @@
  #include <linux/firmware.h>
  #include <linux/delay.h>
@@ -25,9 +25,9 @@ cases.
 +#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28))
 +#include <linux/device.h>
 +#endif
- #include <linux/spi/spi.h>
  #include <linux/crc32.h>
  #include <linux/etherdevice.h>
 --- a/drivers/net/wireless/wl12xx/wl1251_spi.c
 +++ b/drivers/net/wireless/wl12xx/wl1251_spi.c
 @@ -23,6 +23,9 @@