On Tue, Sep 11, 2018 at 10:44:48AM +0200, Nicolas Ferre wrote: > Following the inclusion of the patch ac3167257b9f ("headers: > separate linux/mod_devicetable.h from linux/platform_device.h"), there is a > build issue: > > drivers/mfd/at91-usart.c:51:34: error: array type has incomplete element type > 'struct of_device_id' > static const struct of_device_id at91_usart_mode_of_match[] = { > > Before this patch, the definition was reached by its inclusion of > linux/mfd/core.h. > > The build issue is solved by simply adding the mod_devicetable.h in this > driver. > > Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx> > Cc: Radu Pirea <radu_nicolae.pirea@xxxxxx> You forgot a "reported-by" :( I'll go add it...