diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2016-09-25 16:34:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-27 13:00:52 -0400 |
commit | 44f9d7b3f1096ec5c90b2396f600f385f4bf4a00 (patch) | |
tree | 5b9809aab9bc7120ed7e26211f23847d8032ca07 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h | |
parent | 54ddf3a6af537cbfe038f9a2754f26de80c5818b (diff) |
drm/amdgpu/i2c: add const where appropriate
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h index d81e19b53973..63c2ff7499e1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h | |||
@@ -25,20 +25,20 @@ | |||
25 | #define __AMDGPU_I2C_H__ | 25 | #define __AMDGPU_I2C_H__ |
26 | 26 | ||
27 | struct amdgpu_i2c_chan *amdgpu_i2c_create(struct drm_device *dev, | 27 | struct amdgpu_i2c_chan *amdgpu_i2c_create(struct drm_device *dev, |
28 | struct amdgpu_i2c_bus_rec *rec, | 28 | const struct amdgpu_i2c_bus_rec *rec, |
29 | const char *name); | 29 | const char *name); |
30 | void amdgpu_i2c_destroy(struct amdgpu_i2c_chan *i2c); | 30 | void amdgpu_i2c_destroy(struct amdgpu_i2c_chan *i2c); |
31 | void amdgpu_i2c_init(struct amdgpu_device *adev); | 31 | void amdgpu_i2c_init(struct amdgpu_device *adev); |
32 | void amdgpu_i2c_fini(struct amdgpu_device *adev); | 32 | void amdgpu_i2c_fini(struct amdgpu_device *adev); |
33 | void amdgpu_i2c_add(struct amdgpu_device *adev, | 33 | void amdgpu_i2c_add(struct amdgpu_device *adev, |
34 | struct amdgpu_i2c_bus_rec *rec, | 34 | const struct amdgpu_i2c_bus_rec *rec, |
35 | const char *name); | 35 | const char *name); |
36 | struct amdgpu_i2c_chan * | 36 | struct amdgpu_i2c_chan * |
37 | amdgpu_i2c_lookup(struct amdgpu_device *adev, | 37 | amdgpu_i2c_lookup(struct amdgpu_device *adev, |
38 | struct amdgpu_i2c_bus_rec *i2c_bus); | 38 | const struct amdgpu_i2c_bus_rec *i2c_bus); |
39 | void | 39 | void |
40 | amdgpu_i2c_router_select_ddc_port(struct amdgpu_connector *amdgpu_connector); | 40 | amdgpu_i2c_router_select_ddc_port(const struct amdgpu_connector *connector); |
41 | void | 41 | void |
42 | amdgpu_i2c_router_select_cd_port(struct amdgpu_connector *amdgpu_connector); | 42 | amdgpu_i2c_router_select_cd_port(const struct amdgpu_connector *connector); |
43 | 43 | ||
44 | #endif | 44 | #endif |