aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2012-07-12 18:15:14 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-07-13 02:23:46 -0400
commit868dee91a5f96dfbc97b2cd582614cdc339ec305 (patch)
treea60604b361a0a1d2839c906c79001600a0c14c1f /arch/arm/plat-samsung/include
parenta5238e360b715e9a1bb39d7d3537f78cc9e9e286 (diff)
ARM: SAMSUNG: Remove pdev pointer parameter from spi gpio setup functions
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this parameter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Jaswinder Singh <jaswinder.singh@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include')
-rw-r--r--arch/arm/plat-samsung/include/plat/s3c64xx-spi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h b/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
index 4e9b9c314a29..89dbaee43800 100644
--- a/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
+++ b/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
@@ -39,7 +39,7 @@ struct s3c64xx_spi_csinfo {
39struct s3c64xx_spi_info { 39struct s3c64xx_spi_info {
40 int src_clk_nr; 40 int src_clk_nr;
41 int num_cs; 41 int num_cs;
42 int (*cfg_gpio)(struct platform_device *pdev); 42 int (*cfg_gpio)(void);
43}; 43};
44 44
45/** 45/**
@@ -60,9 +60,9 @@ extern void s3c64xx_spi2_set_platdata(struct s3c64xx_spi_info *pd,
60 int src_clk_nr, int num_cs); 60 int src_clk_nr, int num_cs);
61 61
62/* defined by architecture to configure gpio */ 62/* defined by architecture to configure gpio */
63extern int s3c64xx_spi0_cfg_gpio(struct platform_device *dev); 63extern int s3c64xx_spi0_cfg_gpio(void);
64extern int s3c64xx_spi1_cfg_gpio(struct platform_device *dev); 64extern int s3c64xx_spi1_cfg_gpio(void);
65extern int s3c64xx_spi2_cfg_gpio(struct platform_device *dev); 65extern int s3c64xx_spi2_cfg_gpio(void);
66 66
67extern struct s3c64xx_spi_info s3c64xx_spi0_pdata; 67extern struct s3c64xx_spi_info s3c64xx_spi0_pdata;
68extern struct s3c64xx_spi_info s3c64xx_spi1_pdata; 68extern struct s3c64xx_spi_info s3c64xx_spi1_pdata;