diff options
author | Johannes Stezenbach <js@linuxtv.org> | 2005-05-16 21:54:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-17 07:59:25 -0700 |
commit | 59a7ad6c1ed3a058d375d2e679d73805e4f851ac (patch) | |
tree | 42e2e23e88ef65f8fd3690e8f9be0a9097200a82 /drivers/media/dvb/b2c2/flexcop-pci.c | |
parent | c4ee3fd469302884dda95e1f310d5ffcd9f5acf9 (diff) | |
download | op-kernel-dev-59a7ad6c1ed3a058d375d2e679d73805e4f851ac.zip op-kernel-dev-59a7ad6c1ed3a058d375d2e679d73805e4f851ac.tar.gz |
[PATCH] dvb: flexcop: fix module refcount handling
Corrected the THIS_MODULE handling for the flexcop-stuff and dvb-usb which
lead to oopses because of misorganized module dependencies.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-pci.c')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-pci.c b/drivers/media/dvb/b2c2/flexcop-pci.c index 7895209..ed717c0 100644 --- a/drivers/media/dvb/b2c2/flexcop-pci.c +++ b/drivers/media/dvb/b2c2/flexcop-pci.c @@ -309,6 +309,7 @@ static int flexcop_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e fc->bus_type = FC_PCI; fc->dev = &pdev->dev; + fc->owner = THIS_MODULE; /* bus specific part */ fc_pci->pdev = pdev; |