On Thu, Mar 27, 2014 at 12:49:55PM +0530, Varka Bhadram wrote:
>
> Ya its okay for me . But I think the code should be
>
> #if IS_ENABLED(CONFIG_OF) //For DT supported
> boards
> static struct of_device_id at86rf230_of_match [] = {
> { . compatible = "atmel,at86rf230" , },
> { . compatible = "atmel,at86rf231" , },
> { . compatible = "atmel,at86rf233" , },
> { . compatible = "atmel,at86rf212" , },
> { },
> };
> MODULE_DEVICE_TABLE(of, at86rf230_of_match);
> #else
> static const struct spi_device_id at86rf230_ids [] = { //For Non-DT
> supported boards
> { "at86rf230" , 0 },
> ..............
> { },
> };
> MODULE_DEVICE_TABLE ( spi , at86rf230_ids );
> #endif
>
yes. Can you write a patch for this? and also a patch to make the
at86rf230_of_match to const. Then I can apply it and send it with the
other patches to netdev... if this is okay for you?
Just send the patch with git send-email to linux-zigbee-devel, then we
all review it and test it and I apply it to the next patch series.
- Alex
------------------------------------------------------------------------------
_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel