On Fri, Oct 04, 2019 at 02:43:29PM -0700, Stephen Boyd wrote: > This driver casts away the constness of struct stm32_usart_info that is > pointed to by the of match table. Use of_device_get_match_data() instead > of of_match_device() here and push the const throughout the code so that > we don't cast away const. This nicely avoids referencing the match table > when it is undefined with configurations where CONFIG_OF=n and fixes the > const issues. > > Cc: Arnd Bergmann <[email protected]> > Cc: Geert Uytterhoeven <[email protected]> > Cc: Greg Kroah-Hartman <[email protected]> > Cc: Jiri Slaby <[email protected]> > Cc: Maxime Coquelin <[email protected]> > Cc: Alexandre Torgue <[email protected]> > Cc: Rob Herring <[email protected]> > Cc: Frank Rowand <[email protected]> > Cc: <[email protected]> > Signed-off-by: Stephen Boyd <[email protected]> > --- > > Please ack or pick for immediate merge so the last patch can be merged.
Acked-by: Greg Kroah-Hartman <[email protected]>

