[alsa-devel] [v2 4/5] ARM: atmel-ssc: change phybase type to dma_addr_t

Bo Shen voice.shen at atmel.com
Wed Jul 3 10:37:59 CEST 2013


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 at atmel.com>
---
Change in v2:
  - new patch
---
 include/linux/atmel-ssc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/atmel-ssc.h b/include/linux/atmel-ssc.h
index deb0ae5..66a0e53 100644
--- a/include/linux/atmel-ssc.h
+++ b/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;
-- 
1.7.9.5



More information about the Alsa-devel mailing list