diff options
author | Roger Quadros | 2014-09-23 18:07:02 +0300 |
---|---|---|
committer | Tom Rini | 2014-10-10 09:44:42 -0400 |
commit | 3160b1b98603cba3c480f70e153b259171d3e4a6 (patch) | |
tree | 7182e26da28c6f6ba9f55ce4b4706c61cb28bdac /arch | |
parent | 02590aa31cc282cffafac559032981094f716fa9 (diff) |
OMAP5+: sata/scsi: Implement scsi_init()
On OMAP platforms, SATA controller provides the SCSI subsystem
so implement scsi_init().
Get rid of the unnecessary sata_init() call from dra7xx-evm
and omap5-uevm board files.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/sata.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/sata.c b/arch/arm/cpu/armv7/omap-common/sata.c index cad4feed000..131d082bc89 100644 --- a/arch/arm/cpu/armv7/omap-common/sata.c +++ b/arch/arm/cpu/armv7/omap-common/sata.c @@ -74,3 +74,9 @@ int init_sata(int dev) return ret; } + +/* On OMAP platforms SATA provides the SCSI subsystem */ +void scsi_init(void) +{ + init_sata(0); +} |