From: qjb Date: Tue, 10 Jun 2014 01:42:08 +0000 (+0800) Subject: pl330 : fix ifdef error X-Git-Tag: firefly_0821_release~5160 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=649662820c197eed870d80d54a6ae6689d964de7;p=firefly-linux-kernel-4.4.55.git pl330 : fix ifdef error --- diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 3eba20adcccc..2ea17d0f2970 100755 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -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