On Mon, May 18, 2009 at 05:37:24PM +0530, Shilimkar, Santosh wrote: > > As for the pointer to the array of names, why can't this be declared > > const and therefore that cast be removed? > I am sorry but didn't get this point. > dm_source_names = (char **)omap4_dm_source_names; > In this 'omap4_dm_source_names' is already const. The problem is > dm_source_names is declared as 'char ** ' and hence compiler cribs for right > reasons without cast. > > Did you mean don't declare 'omap4_dm_source_name' as const ?
No, I'm saying dm_source_names should also be const. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html