aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-11 17:52:08 (GMT)
committerHans Verkuil <hverkuil@xs4all.nl>2011-03-11 17:52:08 (GMT)
commit05b28fad4eda5cdf7b04115808553dbb9632f748 (patch)
tree6f8bb1d49336e7f6fc242f44b5d5941eef239b18
parent23f06fe09d86a02e6425c625065dbf9e15f4a3f4 (diff)
Fix 2.6.31 rc-main.c warning.
The field 'groups' in struct device_type isn't const in 2.6.31. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--backports/v2.6.31_device_type.patch11
-rw-r--r--backports/v2.6.31_series1
2 files changed, 12 insertions, 0 deletions
diff --git a/backports/v2.6.31_device_type.patch b/backports/v2.6.31_device_type.patch
new file mode 100644
index 0000000..d36d93b
--- /dev/null
+++ b/backports/v2.6.31_device_type.patch
@@ -0,0 +1,11 @@
+--- linux/drivers/media/rc/rc-main.c.orig 2011-03-11 18:44:43.734443972 +0100
++++ linux/drivers/media/rc/rc-main.c 2011-03-11 18:44:56.371948200 +0100
+@@ -904,7 +904,7 @@
+ .attrs = rc_dev_attrs,
+ };
+
+-static const struct attribute_group *rc_dev_attr_groups[] = {
++static struct attribute_group *rc_dev_attr_groups[] = {
+ &rc_dev_attr_grp,
+ NULL
+ };
diff --git a/backports/v2.6.31_series b/backports/v2.6.31_series
index dcf2280..5d7067d 100644
--- a/backports/v2.6.31_series
+++ b/backports/v2.6.31_series
@@ -11,3 +11,4 @@ v2.6.33_pvrusb2_sysfs.patch
v2.6.32_kfifo.patch
v2.6.31_nodename.patch
v2.6.31_vm_ops.patch
+v2.6.31_device_type.patch

Privacy Policy