summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2004-07-17 11:50:22 +0000
committerAndreas Oberritter <devnull@localhost>2004-07-17 11:50:22 +0000
commit6739dd0d1fbb2342047ba878c6d66e3a7a56b9c9 (patch)
treeda50c104b7a4dc23c11087c7dc21586d5992ad02 /linux
parentd5f028c00f096f00133f1c3134919d2a31e4e95d (diff)
downloadmediapointer-dvb-s2-6739dd0d1fbb2342047ba878c6d66e3a7a56b9c9.tar.gz
mediapointer-dvb-s2-6739dd0d1fbb2342047ba878c6d66e3a7a56b9c9.tar.bz2
fixed warning with kernel 2.6.7-powerpc:
In file included from alps_tdlb7.c:36: include/linux/firmware.h:11: warning: `struct device' declared inside parameter list include/linux/firmware.h:11: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/firmware.h:15: warning: `struct device' declared inside parameter list alps_tdlb7.c: In function `attach_adapter': alps_tdlb7.c:655: warning: passing arg 3 of `request_firmware' from incompatible pointer type
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/alps_tdlb7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/alps_tdlb7.c b/linux/drivers/media/dvb/frontends/alps_tdlb7.c
index 12d818c10..5f1787513 100644
--- a/linux/drivers/media/dvb/frontends/alps_tdlb7.c
+++ b/linux/drivers/media/dvb/frontends/alps_tdlb7.c
@@ -33,6 +33,7 @@
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/device.h>
#include <linux/firmware.h>
#include <linux/delay.h>