[PATCH] of: match the compatible in the order set by the dts file

Huang Shijie b32955 at freescale.com
Tue Jul 9 03:46:34 EDT 2013


于 2013年07月09日 15:05, Sascha Hauer 写道:
> Why don't you set the matching order in the driver the way you want it
> to be, i.e.:
>
> 	{ .compatible = "fsl,imx6q-uart", ... },
> 	{ .compatible = "fsl,imx21-uart", ... },
> 	{ .compatible = "fsl,imx1-uart", ... },
>
yes. i can set it like this.

but this method looks like a ugly workaround.

thanks
Huang Shijie




More information about the linux-arm-kernel mailing list