The signature for struct bin_attribute.read changed. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- .../network/71-bin_attribute-api-change.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/collateral-evolutions/network/71-bin_attribute-api-change.patch diff --git a/patches/collateral-evolutions/network/71-bin_attribute-api-change.patch b/patches/collateral-evolutions/network/71-bin_attribute-api-change.patch new file mode 100644 index 0000000..2425660 --- /dev/null +++ b/patches/collateral-evolutions/network/71-bin_attribute-api-change.patch @@ -0,0 +1,14 @@ +--- a/drivers/net/wireless/ti/wlcore/main.c ++++ b/drivers/net/wireless/ti/wlcore/main.c +@@ -5518,7 +5518,11 @@ static ssize_t wl1271_sysfs_show_hw_pg_v + static DEVICE_ATTR(hw_pg_ver, S_IRUGO, + wl1271_sysfs_show_hw_pg_ver, NULL); + ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) + static ssize_t wl1271_sysfs_read_fwlog(struct file *filp, struct kobject *kobj, ++#else ++static ssize_t wl1271_sysfs_read_fwlog(struct kobject *kobj, ++#endif + struct bin_attribute *bin_attr, + char *buffer, loff_t pos, size_t count) + { -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html