diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-07-30 00:02:24 -0700 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-08-06 18:07:09 +0900 |
commit | 3c7b5362323cd4b5d09a5b21ba8e74b3de05fc73 (patch) | |
tree | 4676c3750adae0d4379a75fd1441c35419929b96 /arch/arm/mach-shmobile/include | |
parent | 1fd4eecd480b82e11900ae6a8f44d92efeb96004 (diff) | |
download | blackbird-op-linux-3c7b5362323cd4b5d09a5b21ba8e74b3de05fc73.tar.gz blackbird-op-linux-3c7b5362323cd4b5d09a5b21ba8e74b3de05fc73.zip |
ARM: shmobile: r8a7778: cleanup registration of hspi
sh-hspi driver which doesn't need platform data at the time of
registration can be registerd on SoC.
And, registering these drivers in the SoC code can avoid
unwanted device numbering issue.
(ex. the hspi2 device number will be spi.0 if hspi2 only registered)
This patch registers it on SoC code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7778.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h index 9874511bbdbb..41fd6da27574 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7778.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h @@ -23,7 +23,6 @@ extern void r8a7778_add_standard_devices(void); extern void r8a7778_add_standard_devices_dt(void); extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); -extern void r8a7778_add_hspi_device(int id); extern void r8a7778_add_dt_devices(void); extern void r8a7778_init_late(void); |