diff options
author | Holger Waechtler <devnull@localhost> | 2003-03-22 11:43:15 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-03-22 11:43:15 +0000 |
commit | 63cb0c2e9b4d11a118ca8225f872f743302981e7 (patch) | |
tree | 2aca33f4f26a85b5209e87c83f857ee6e671de57 /linux/drivers/media/dvb/frontends/at76c651.c | |
parent | 45a8287d7d7b76915cbdd65021a0988ab49561ec (diff) | |
download | mediapointer-dvb-s2-63cb0c2e9b4d11a118ca8225f872f743302981e7.tar.gz mediapointer-dvb-s2-63cb0c2e9b4d11a118ca8225f872f743302981e7.tar.bz2 |
more portability, now frontend modules build out of the box
Diffstat (limited to 'linux/drivers/media/dvb/frontends/at76c651.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/at76c651.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/at76c651.c b/linux/drivers/media/dvb/frontends/at76c651.c index 5fa065962..288d59d02 100644 --- a/linux/drivers/media/dvb/frontends/at76c651.c +++ b/linux/drivers/media/dvb/frontends/at76c651.c @@ -22,11 +22,12 @@ * */ -#include <linux/module.h> +#include <asm/errno.h> #include <linux/init.h> -#include <linux/delay.h> +#include <linux/module.h> +#include <linux/kernel.h> +#include <linux/string.h> #include <linux/slab.h> -#include <linux/i2c.h> #if defined(__powerpc__) #include <asm/bitops.h> @@ -34,6 +35,7 @@ #include "dvb_frontend.h" #include "dvb_i2c.h" +#include "compat.h" static int debug = 0; @@ -103,7 +105,7 @@ at76c651_writereg(struct dvb_i2c_bus *i2c, u8 reg, u8 data) "(reg == 0x%02x, val == 0x%02x, ret == %i)\n", __FUNCTION__, reg, data, ret); - mdelay(10); + ddelay(10); return (ret != 1) ? -EREMOTEIO : 0; |