diff options
author | Michael Hunold <devnull@localhost> | 2003-04-30 10:15:46 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-04-30 10:15:46 +0000 |
commit | 4bdbd31d1ae35244fc58d39fc00f31e18599c782 (patch) | |
tree | e1f3211eca651e3003f6cede823cc3d9b017e01a /linux/drivers/media/dvb/ttpci/budget-av.c | |
parent | 154d8f58826e37fee3f32fab0493158e93ed19d4 (diff) | |
download | mediapointer-dvb-s2-4bdbd31d1ae35244fc58d39fc00f31e18599c782.tar.gz mediapointer-dvb-s2-4bdbd31d1ae35244fc58d39fc00f31e18599c782.tar.bz2 |
- introduce dvb_functions.h in order to make the dvb subsystem
less dependent on the linux kernel. here is the place to store
additional dvb_* functions, which encapsulate linux kernel functionality
which cannot be expressed as a one-liner
- rename ddelay() to dvb_delay(), move it to dvb_functions.h
- change all files to include dvb_functions.h instead of dvb_compat.h
- compile fix for the saa7111 driver
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-av.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index 6ab987f8e..3b7c386b0 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -33,7 +33,7 @@ #include <media/saa7146_vv.h> #include "budget.h" -#include "dvb_compat.h" +#include "dvb_functions.h" struct budget_av { struct budget budget; @@ -165,7 +165,7 @@ int budget_av_detach (struct saa7146_dev *dev) saa7146_setgpio(dev, 0, SAA7146_GPIO_OUTLO); - ddelay(200); + dvb_delay(200); saa7146_unregister_device (&budget_av->vd, dev); @@ -211,7 +211,7 @@ int budget_av_attach (struct saa7146_dev* dev, //test_knc_ci(av7110); saa7146_setgpio(dev, 0, SAA7146_GPIO_OUTHI); - ddelay(500); + dvb_delay(500); if ((err = saa7113_init (budget_av))) { budget_av_detach(dev); |