Hai, By using struct of_device_id structure and of_match_table in struct spi_driver we can enable the device tree support for the driver. The corresponding driver will be loaded based on compatible property.
For Non-DT supported boards to load the driver we have to provide struct spi_board_info and we have to register our board . In this shall we provide the device ids for driver by using struct spi_device_id or based on name in struct spi_driver the driver will load ? So Is there any need to give spi ids and MODULE_DEVICE_TABLE() for Non-DT supported boards? Thanks in advance. -Varka Bhadram, CDAC-HYD. ------------------------------------------------------------------------------------------------------------------------------- This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. -------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel