On Tue, Nov 4, 2008 at 8:45 AM, Marc Pignat <marc.pignat@xxxxxxx> wrote: > Hiü > > On Tuesday 04 November 2008, Paulius Zaleckas wrote: >> make mdio-gpio work with non OpenFirmware gpio implementation. > > of_gpio.c provides generic gpio compatible gpios. > > Why not remove all OF specific code from this file and add another one > creating the struct mdio_gpio_platform_data using OF specific functions? This is a very simple driver. There is no need to split it into two files. Have two sections of bus binding (OF and non-OF) is just fine. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html