summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2004-07-17 11:51:38 +0000
committerAndreas Oberritter <devnull@localhost>2004-07-17 11:51:38 +0000
commite2d3ab7144e5aa649f56057edc9a3548104b48df (patch)
tree06b36dd0223f62e867e836a44d7ed85be9164682 /linux/drivers/media
parent6739dd0d1fbb2342047ba878c6d66e3a7a56b9c9 (diff)
downloadmediapointer-dvb-s2-e2d3ab7144e5aa649f56057edc9a3548104b48df.tar.gz
mediapointer-dvb-s2-e2d3ab7144e5aa649f56057edc9a3548104b48df.tar.bz2
fixed warning with kernel 2.6.7-powerpc:
In file included from sp887x.c:21: 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 sp887x.c: In function `attach_adapter': sp887x.c:616: warning: passing arg 3 of `request_firmware' from incompatible pointer type
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/frontends/sp887x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c
index 06645548b..6bb73e907 100644
--- a/linux/drivers/media/dvb/frontends/sp887x.c
+++ b/linux/drivers/media/dvb/frontends/sp887x.c
@@ -18,6 +18,7 @@
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/device.h>
#include <linux/firmware.h>
#include "dvb_frontend.h"