mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
davinci: da850 evm: register SATA device
Register the platform device for SATA interface present on the DA850/OMAP-L138/AM18x EVM. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
parent
cbb2c9617a
commit
8bb2c4813c
@ -1117,6 +1117,8 @@ static __init int da850_evm_init_cpufreq(void)
|
||||
static __init int da850_evm_init_cpufreq(void) { return 0; }
|
||||
#endif
|
||||
|
||||
#define DA850EVM_SATA_REFCLKPN_RATE (100 * 1000 * 1000)
|
||||
|
||||
static __init void da850_evm_init(void)
|
||||
{
|
||||
int ret;
|
||||
@ -1237,6 +1239,11 @@ static __init void da850_evm_init(void)
|
||||
if (ret)
|
||||
pr_warning("da850_evm_init: spi 1 registration failed: %d\n",
|
||||
ret);
|
||||
|
||||
ret = da850_register_sata(DA850EVM_SATA_REFCLKPN_RATE);
|
||||
if (ret)
|
||||
pr_warning("da850_evm_init: sata registration failed: %d\n",
|
||||
ret);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SERIAL_8250_CONSOLE
|
||||
|
Loading…
Reference in New Issue
Block a user