Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
int saa7164_api_get_load_info(struct saa7164_dev *dev, tmFwInfoStruct_t *i)
{
- int ret, debug;
+ int ret;
- if (!(debug & DBGLVL_CPU))
+ if (!(saa_debug & DBGLVL_CPU))
return 0;
dprintk(DBGLVL_API, "%s()\n", __func__);
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++;
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();
}
}