Re: [PATCH] drivers:staging:ti-st: remove st_get_plat_device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Thursday, August 19, 2010 - 10:32 am

On 08/19/10 11:08, pavan_savoy@ti.com wrote:

Thanks, that builds cleanly.  I'm OK with it if you are comfortable with a
hard limit on the fixed number of devices that can be supported:

+#define MAX_ST_DEVICES	3	/* Imagine 1 on each UART for now */
+struct platform_device *st_kim_devices[MAX_ST_DEVICES];

We usually try not to have such limits nor use arrays like that,
but if the nature of the device and its platform/environment is like
that, so be it.




-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] drivers:staging:ti-st: remove st_get_plat_device, Randy Dunlap, (Thu Aug 19, 10:32 am)