diff options
Diffstat (limited to 'arch/arm/common/sa1111.c')
-rw-r--r-- | arch/arm/common/sa1111.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index fb86f248aab8..47ccec95f3e8 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c | |||
@@ -581,6 +581,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent, | |||
581 | goto out; | 581 | goto out; |
582 | } | 582 | } |
583 | 583 | ||
584 | #ifdef CONFIG_DMABOUNCE | ||
584 | /* | 585 | /* |
585 | * If the parent device has a DMA mask associated with it, | 586 | * If the parent device has a DMA mask associated with it, |
586 | * propagate it down to the children. | 587 | * propagate it down to the children. |
@@ -598,6 +599,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent, | |||
598 | } | 599 | } |
599 | } | 600 | } |
600 | } | 601 | } |
602 | #endif | ||
601 | 603 | ||
602 | out: | 604 | out: |
603 | return ret; | 605 | return ret; |
@@ -937,7 +939,7 @@ static int sa1111_resume(struct platform_device *dev) | |||
937 | #define sa1111_resume NULL | 939 | #define sa1111_resume NULL |
938 | #endif | 940 | #endif |
939 | 941 | ||
940 | static int sa1111_probe(struct platform_device *pdev) | 942 | static int __devinit sa1111_probe(struct platform_device *pdev) |
941 | { | 943 | { |
942 | struct resource *mem; | 944 | struct resource *mem; |
943 | int irq; | 945 | int irq; |