[PATCH 03/12] spi: sirf: account for const type of of_device_id.data

2018-01-02 Thread Julia Lawall
This driver creates various const structures that it stores in the data field of an of_device_id array. Adding const to the declaration of the location that receives the const value from the data field ensures that the compiler will continue to check that the value is not modified. Furthermore,

[PATCH 03/12] spi: sirf: account for const type of of_device_id.data

2018-01-02 Thread Julia Lawall
This driver creates various const structures that it stores in the data field of an of_device_id array. Adding const to the declaration of the location that receives the const value from the data field ensures that the compiler will continue to check that the value is not modified. Furthermore,