summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-bus.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2010-07-31 16:24:25 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:55:16 -0200
commit99b73d38fa014bcf0f08557cf716907eceffaa1c (patch)
treea0fc4e4c47765e0d1f2f195ea2f5d1cb5f60d9d7 /drivers/media/video/saa7164/saa7164-bus.c
parent1247ff5c0acb0fb50b076e390bb770acc95d1d7e (diff)
[media] saa7164: change debug to saa_debug
Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-bus.c')
-rw-r--r--drivers/media/video/saa7164/saa7164-bus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/saa7164/saa7164-bus.c b/drivers/media/video/saa7164/saa7164-bus.c
index 8848687bf9d..0e76538cabb 100644
--- a/drivers/media/video/saa7164/saa7164-bus.c
+++ b/drivers/media/video/saa7164/saa7164-bus.c
@@ -83,7 +83,7 @@ void saa7164_bus_dump(struct saa7164_dev *dev)
void saa7164_bus_verify(struct saa7164_dev *dev)
{
tmComResBusInfo_t *b = &dev->bus;
- int bug = 0, debug;
+ int bug = 0;
if (saa7164_readl(b->m_dwSetReadPos) > b->m_dwSizeSetRing)
bug++;
@@ -98,9 +98,9 @@ void saa7164_bus_verify(struct saa7164_dev *dev)
bug++;
if (bug) {
- debug = 0xffff; /* Ensure we get the bus dump */
+ saa_debug = 0xffff; /* Ensure we get the bus dump */
saa7164_bus_dump(dev);
- debug = 1024; /* Ensure we get the bus dump */
+ saa_debug = 1024; /* Ensure we get the bus dump */
BUG();
}
}