aboutsummaryrefslogtreecommitdiffstats
path: root/backports
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-01-28 15:21:32 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2011-01-28 15:21:32 +0100
commitf64005c4e42cd67e8e9d51338dc553870f61a3ba (patch)
tree2644d5df1a35b73921c7887fdd5f0a45e95b8b86 /backports
parentdc2be90d1a5ab6b3989b905f39bd9ee07c370e23 (diff)
media_build: fix 2.6.31 build
- don't attempt to patch dabusb.c - fix check for linux/pm_runtime.h Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'backports')
-rw-r--r--backports/v2.6.31_nodename.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/backports/v2.6.31_nodename.patch b/backports/v2.6.31_nodename.patch
index 6785dd3..15b6168 100644
--- a/backports/v2.6.31_nodename.patch
+++ b/backports/v2.6.31_nodename.patch
@@ -39,23 +39,3 @@ diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
};
static struct {
-diff --git a/drivers/media/video/dabusb.c b/drivers/media/video/dabusb.c
---- a/drivers/media/video/dabusb.c
-+++ b/drivers/media/video/dabusb.c
-@@ -737,14 +737,14 @@ static const struct file_operations dabu
- .release = dabusb_release,
- };
-
--static char *dabusb_devnode(struct device *dev, mode_t *mode)
-+static char *dabusb_nodename(struct device *dev)
- {
- return kasprintf(GFP_KERNEL, "usb/%s", dev_name(dev));
- }
-
- static struct usb_class_driver dabusb_class = {
- .name = "dabusb%d",
-- .devnode = dabusb_devnode,
-+ .nodename = dabusb_nodename,
- .fops = &dabusb_fops,
- .minor_base = DABUSB_MINOR,
- };

Privacy Policy