[kernel] r20246 - in dists/trunk/linux/debian: . patches patches/bugfix/all

Ben Hutchings benh at alioth.debian.org
Tue Jun 11 03:42:20 UTC 2013


Author: benh
Date: Tue Jun 11 03:42:19 2013
New Revision: 20246

Log:
iwlegacy: Use consistent condition for il_pm_ops (fixes FTBFS on ia64)

Added:
   dists/trunk/linux/debian/patches/bugfix/all/iwlegacy-use-consistent-condition-for-il_pm_ops.patch
Modified:
   dists/trunk/linux/debian/changelog
   dists/trunk/linux/debian/patches/series

Modified: dists/trunk/linux/debian/changelog
==============================================================================
--- dists/trunk/linux/debian/changelog	Tue Jun 11 03:30:32 2013	(r20245)
+++ dists/trunk/linux/debian/changelog	Tue Jun 11 03:42:19 2013	(r20246)
@@ -14,6 +14,7 @@
       nic-modules
     - Move ide-modules and ide-core-modules into ia64 configuration
     - [powerpc,x86] Fold nic-extra-modules into nic-modules
+  * iwlegacy: Use consistent condition for il_pm_ops (fixes FTBFS on ia64)
 
  -- Ben Hutchings <ben at decadent.org.uk>  Mon, 03 Jun 2013 13:21:56 +0100
 

Added: dists/trunk/linux/debian/patches/bugfix/all/iwlegacy-use-consistent-condition-for-il_pm_ops.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux/debian/patches/bugfix/all/iwlegacy-use-consistent-condition-for-il_pm_ops.patch	Tue Jun 11 03:42:19 2013	(r20246)
@@ -0,0 +1,34 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Subject: iwlegacy: Use consistent condition for il_pm_ops
+Date: Tue, 11 Jun 2013 04:37:26 +0100
+
+Commit e82add550d9b 'net: wireless: iwlegacy: add CONFIG_PM_SLEEP to
+suspend/resume functions' correctly changed the condition for defining
+il_pm_ops and the functions it points to.  But it didn't change the
+condition for use of il_pm_ops, so iwl3945 and iwl4965 fail to link if
+only CONFIG_PM is enabled.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+--- a/drivers/net/wireless/iwlegacy/common.h
++++ b/drivers/net/wireless/iwlegacy/common.h
+@@ -1832,16 +1832,16 @@ u32 il_usecs_to_beacons(struct il_priv *
+ __le32 il_add_beacon_time(struct il_priv *il, u32 base, u32 addon,
+ 			  u32 beacon_interval);
+ 
+-#ifdef CONFIG_PM
++#ifdef CONFIG_PM_SLEEP
+ extern const struct dev_pm_ops il_pm_ops;
+ 
+ #define IL_LEGACY_PM_OPS	(&il_pm_ops)
+ 
+-#else /* !CONFIG_PM */
++#else /* !CONFIG_PM_SLEEP */
+ 
+ #define IL_LEGACY_PM_OPS	NULL
+ 
+-#endif /* !CONFIG_PM */
++#endif /* !CONFIG_PM_SLEEP */
+ 
+ /*****************************************************
+ *  Error Handling Debugging

Modified: dists/trunk/linux/debian/patches/series
==============================================================================
--- dists/trunk/linux/debian/patches/series	Tue Jun 11 03:30:32 2013	(r20245)
+++ dists/trunk/linux/debian/patches/series	Tue Jun 11 03:42:19 2013	(r20246)
@@ -87,3 +87,4 @@
 
 bugfix/all/ath9k-Disable-PowerSave-by-default.patch
 bugfix/x86/viafb-autoload-on-olpc-xo1.5-only.patch
+bugfix/all/iwlegacy-use-consistent-condition-for-il_pm_ops.patch



More information about the Kernel-svn-changes mailing list