pl330 : fix ifdef error
authorqjb <qjb@rock-chips.com>
Tue, 10 Jun 2014 01:42:08 +0000 (09:42 +0800)
committerqjb <qjb@rock-chips.com>
Tue, 10 Jun 2014 01:42:08 +0000 (09:42 +0800)
drivers/dma/pl330.c

index 3eba20adcccca3a97fc114afd38c64e863b84dbe..2ea17d0f2970663bb6666fd93628d10eefcb76b1 100755 (executable)
@@ -3188,7 +3188,7 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
        pd->device_prep_slave_sg = pl330_prep_slave_sg;
        pd->device_control = pl330_control;
        pd->device_issue_pending = pl330_issue_pending;
-#ifdef drivers/dma/pl330.c
+#ifdef CONFIG_ARCH_ROCKCHIP
        pd->dma_getposition = pl330_dma_getposition;
 #endif