[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0B813DC0439B438BBB2B66A88B1A5F7F@subhasishg>
Date: Tue, 10 May 2011 16:24:35 +0530
From: "Subhasish Ghosh" <subhasish@...tralsolutions.com>
To: "Nori, Sekhar" <nsekhar@...com>, "Greg KH" <gregkh@...e.de>
Cc: "Greg KH" <greg@...ah.com>,
<davinci-linux-open-source@...ux.davincidsp.com>,
<linux-arm-kernel@...ts.infradead.org>,
"Watkins, Melissa" <m-watkins@...com>,
<sachi@...tralsolutions.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Randy Dunlap" <randy.dunlap@...cle.com>,
"open list" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 08/11] tty: add pruss SUART driver
>>
>> >>The driver should probably just get sram
>> >> space through platform data so that it doesn't depend on the
>> >> platform specific sram allocation function.
>>
>> Are you suggesting that I go back to that implementation.
>
> No, the platform code should use the SRAM allocator and
> pass on the allocated memory to the driver.
>
Say, if the driver is loaded as a module.
If I allocate the sram in the platform code, how to I
free it when the driver is unloaded.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists