summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-17 12:16:54 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-17 12:16:54 -0200
commitaacb6236900eb6968c7a13eb3a81f938895ae24d (patch)
treee80c72b10d6fe912142fd6c034bd9327cefea31f /linux
parentc6b71147f1371e784ded6481d60962132c3bd7d3 (diff)
downloadmediapointer-dvb-s2-aacb6236900eb6968c7a13eb3a81f938895ae24d.tar.gz
mediapointer-dvb-s2-aacb6236900eb6968c7a13eb3a81f938895ae24d.tar.bz2
backport changeset 7e7654a92a5a75a350cc3458389bc76273498f6a
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original description: cdev: remove unneeded setting of cdev names struct cdev does not need the kobject name to be set, as it is never used. This patch fixes up the few places it is set. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index 6df531e0e..70b1bbe7f 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -114,10 +114,7 @@ static struct file_operations dvb_device_fops =
.open = dvb_device_open,
};
-static struct cdev dvb_device_cdev = {
- .kobj = {.name = "dvb", },
- .owner = THIS_MODULE,
-};
+static struct cdev dvb_device_cdev;
int dvb_generic_open(struct inode *inode, struct file *file)
{