diff options
| author | Julia Lawall <[email protected]> | 2018-01-02 13:28:05 +0000 |
|---|---|---|
| committer | Cyrille Pitchen <[email protected]> | 2018-01-07 18:06:12 +0000 |
| commit | 2167d6d7a96a35614be64769f4d36d6eddc1860f (patch) | |
| tree | 2ba74992dabf886a27debcd647e74ff80ee71e65 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | mtd: spi-nor: cadence-quadspi: Add support for direct access mode (diff) | |
| download | kernel-2167d6d7a96a35614be64769f4d36d6eddc1860f.tar.gz kernel-2167d6d7a96a35614be64769f4d36d6eddc1860f.zip | |
mtd: fsl-quadspi: account for const type of of_device_id.data
This driver creates a number of const structures that it stores in the
data field of an of_device_id array.
The data field of an of_device_id structure has type const void *, so
there is no need for a const-discarding cast when putting const values
into such a structure.
Done using Coccinelle.
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Cyrille Pitchen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
