mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 00:29:50 +00:00
platform/x86: intel_scu_ipc: make intel_scu_ipc_pdata_t const
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
c94a8ff14d
commit
9a862ed5f9
@ -72,20 +72,20 @@ struct intel_scu_ipc_pdata_t {
|
|||||||
u8 irq_mode;
|
u8 irq_mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct intel_scu_ipc_pdata_t intel_scu_ipc_lincroft_pdata = {
|
static const struct intel_scu_ipc_pdata_t intel_scu_ipc_lincroft_pdata = {
|
||||||
.i2c_base = 0xff12b000,
|
.i2c_base = 0xff12b000,
|
||||||
.i2c_len = 0x10,
|
.i2c_len = 0x10,
|
||||||
.irq_mode = 0,
|
.irq_mode = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Penwell and Cloverview */
|
/* Penwell and Cloverview */
|
||||||
static struct intel_scu_ipc_pdata_t intel_scu_ipc_penwell_pdata = {
|
static const struct intel_scu_ipc_pdata_t intel_scu_ipc_penwell_pdata = {
|
||||||
.i2c_base = 0xff12b000,
|
.i2c_base = 0xff12b000,
|
||||||
.i2c_len = 0x10,
|
.i2c_len = 0x10,
|
||||||
.irq_mode = 1,
|
.irq_mode = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct intel_scu_ipc_pdata_t intel_scu_ipc_tangier_pdata = {
|
static const struct intel_scu_ipc_pdata_t intel_scu_ipc_tangier_pdata = {
|
||||||
.i2c_base = 0xff00d000,
|
.i2c_base = 0xff00d000,
|
||||||
.i2c_len = 0x10,
|
.i2c_len = 0x10,
|
||||||
.irq_mode = 0,
|
.irq_mode = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user