diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-11-28 15:55:07 +0530 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-12-07 12:00:35 +0100 |
commit | 04271ce9601f1686db480ea11ea1848394d9e6a2 (patch) | |
tree | 3661b428dc923056346a683c608d63c630106254 /drivers/i2c/busses/i2c-stm32f4.c | |
parent | ae64f9bd1d3621b5e60d7363bc20afb46aede215 (diff) |
i2c-cht-wc: constify platform_device_id
platform_device_id are not supposed to change at runtime. All functions
working with platform_device_id provided by <linux/platform_device.h>
work with const platform_device_id. So mark the non-const structs as
const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-stm32f4.c')
0 files changed, 0 insertions, 0 deletions