diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2012-07-12 18:15:14 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-07-13 02:23:46 -0400 |
commit | 868dee91a5f96dfbc97b2cd582614cdc339ec305 (patch) | |
tree | a60604b361a0a1d2839c906c79001600a0c14c1f /arch/arm/plat-samsung/include | |
parent | a5238e360b715e9a1bb39d7d3537f78cc9e9e286 (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.h | 8 |
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 { | |||
39 | struct s3c64xx_spi_info { | 39 | struct 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 */ |
63 | extern int s3c64xx_spi0_cfg_gpio(struct platform_device *dev); | 63 | extern int s3c64xx_spi0_cfg_gpio(void); |
64 | extern int s3c64xx_spi1_cfg_gpio(struct platform_device *dev); | 64 | extern int s3c64xx_spi1_cfg_gpio(void); |
65 | extern int s3c64xx_spi2_cfg_gpio(struct platform_device *dev); | 65 | extern int s3c64xx_spi2_cfg_gpio(void); |
66 | 66 | ||
67 | extern struct s3c64xx_spi_info s3c64xx_spi0_pdata; | 67 | extern struct s3c64xx_spi_info s3c64xx_spi0_pdata; |
68 | extern struct s3c64xx_spi_info s3c64xx_spi1_pdata; | 68 | extern struct s3c64xx_spi_info s3c64xx_spi1_pdata; |