aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2017-08-20 00:17:36 +0530
committerJonathan Cameron <[email protected]>2017-08-20 10:15:45 +0100
commite05d83bc5826457854093b76585eae98c77469c9 (patch)
treea78f72ad821ffe3589f8499ebdae2868584195cb /tools/lib/api/debug.c
parent283d26917ad63580b6671935b2979c78b27302c3 (diff)
iio: accel: bma180: constify i2c_device_id
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by <linux/i2c.h> work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions