Browse Source

ARM: atmel-ssc: change phybase type to dma_addr_t

as the phybase paramter only used for DMA operation, change
it's type from resource_size_t to dma_addr_t

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Bo Shen 12 years ago
parent
commit
10175b3b2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/atmel-ssc.h

+ 1 - 1
include/linux/atmel-ssc.h

@@ -11,7 +11,7 @@ struct atmel_ssc_platform_data {
 
 struct ssc_device {
 	struct list_head	list;
-	resource_size_t		phybase;
+	dma_addr_t		phybase;
 	void __iomem		*regs;
 	struct platform_device	*pdev;
 	struct atmel_ssc_platform_data *pdata;