Initialized a variable in voodoo_readl().
This commit is contained in:
@@ -185,7 +185,7 @@ static uint16_t voodoo_readw(uint32_t addr, void *p)
|
|||||||
static uint32_t voodoo_readl(uint32_t addr, void *p)
|
static uint32_t voodoo_readl(uint32_t addr, void *p)
|
||||||
{
|
{
|
||||||
voodoo_t *voodoo = (voodoo_t *)p;
|
voodoo_t *voodoo = (voodoo_t *)p;
|
||||||
uint32_t temp;
|
uint32_t temp = 0xffffffff;
|
||||||
int fifo_size;
|
int fifo_size;
|
||||||
voodoo->rd_count++;
|
voodoo->rd_count++;
|
||||||
addr &= 0xffffff;
|
addr &= 0xffffff;
|
||||||
|
Reference in New Issue
Block a user