Re: [PATCH] of: match the compatible in the order set by the dtsfile

From: Huang Shijie
Date: Tue Jul 09 2013 - 03:44:48 EST


ä 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/