|
@@ -1888,11 +1888,8 @@ static int dmac_alloc_resources(struct pl330_dmac *pl330)
|
|
|
|
|
|
static int pl330_add(struct pl330_dmac *pl330)
|
|
static int pl330_add(struct pl330_dmac *pl330)
|
|
{
|
|
{
|
|
- void __iomem *regs;
|
|
|
|
int i, ret;
|
|
int i, ret;
|
|
|
|
|
|
- regs = pl330->base;
|
|
|
|
-
|
|
|
|
/* Check if we can handle this DMAC */
|
|
/* Check if we can handle this DMAC */
|
|
if ((pl330->pcfg.periph_id & 0xfffff) != PERIPH_ID_VAL) {
|
|
if ((pl330->pcfg.periph_id & 0xfffff) != PERIPH_ID_VAL) {
|
|
dev_err(pl330->ddma.dev, "PERIPH_ID 0x%x !\n",
|
|
dev_err(pl330->ddma.dev, "PERIPH_ID 0x%x !\n",
|