From 63cb0c2e9b4d11a118ca8225f872f743302981e7 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Sat, 22 Mar 2003 11:43:15 +0000 Subject: more portability, now frontend modules build out of the box --- linux/drivers/media/dvb/frontends/at76c651.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/dvb/frontends/at76c651.c') 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 +#include #include -#include +#include +#include +#include #include -#include #if defined(__powerpc__) #include @@ -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; -- cgit v1.2.3