Thread (65 messages) 65 messages, 12 authors, 2011-03-22

[PATCH v2 12/13] da850: pruss SUART platform specific additions.

From: Subhasish Ghosh <hidden>
Date: 2011-02-22 13:23:07
Also in: lkml

Ok, will do.

--------------------------------------------------
From: "Sergei Shtylyov" <redacted>
Sent: Tuesday, February 22, 2011 4:50 PM
To: "Subhasish Ghosh" <redacted>
Cc: <redacted>; 
[off-list ref]; "Russell King" [off-list ref]; 
"Kevin Hilman" [off-list ref]; [off-list ref]; "open list" 
[off-list ref]; [off-list ref]; 
[off-list ref]
Subject: Re: [PATCH v2 12/13] da850: pruss SUART platform specific 
additions.
Hello.

On 22-02-2011 12:18, Subhasish Ghosh wrote:
quoted
I could not follow your recommendations clearly, are you suggesting this:
quoted
int __init da8xx_register_pruss(struct da8xx_pruss_devices *pruss_device)
{
#ifdef CONFIG_SERIAL_PRUSS_SUART_MODULE
int ret;

ret = clk_add_alias(NULL, "da8xx_pruss_uart.1",
NULL, &da850_mcasp_device.dev);
if (ret < 0)
return ret;
#endif
da8xx_pruss_dev.dev.platform_data = pruss_device;
return platform_device_register(&da8xx_pruss_dev);
}
   Yes. But still better would be to wrap clk_add_alias() into a function 
of its own (defining it empty if CONFIG_SERIAL_PRUSS_SUART_MODULE is not 
defined).

WBR, Sergei 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help