summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/superio/fintek/f71869ad/f71869ad_hwm.c2
-rw-r--r--src/superio/fintek/f71869ad/f71869ad_multifunc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/fintek/f71869ad/f71869ad_hwm.c b/src/superio/fintek/f71869ad/f71869ad_hwm.c
index f048299b2d..0475081193 100644
--- a/src/superio/fintek/f71869ad/f71869ad_hwm.c
+++ b/src/superio/fintek/f71869ad/f71869ad_hwm.c
@@ -64,7 +64,7 @@ static void pnp_write_index(u16 port, u8 reg, u8 value)
/* note: multifunc registers need to be tweaked before here */
void f71869ad_hwm_init(device_t dev)
{
- struct superio_fintek_f71869ad_config *conf = dev->chip_info;
+ const struct superio_fintek_f71869ad_config *conf = dev->chip_info;
struct resource *res = find_resource(dev, PNP_IDX_IO0);
if (!res) {
diff --git a/src/superio/fintek/f71869ad/f71869ad_multifunc.c b/src/superio/fintek/f71869ad/f71869ad_multifunc.c
index 46c4d2c701..e0182ed8c2 100644
--- a/src/superio/fintek/f71869ad/f71869ad_multifunc.c
+++ b/src/superio/fintek/f71869ad/f71869ad_multifunc.c
@@ -32,7 +32,7 @@
void f71869ad_multifunc_init(device_t dev)
{
- struct superio_fintek_f71869ad_config *conf = dev->chip_info;
+ const struct superio_fintek_f71869ad_config *conf = dev->chip_info;
pnp_enter_conf_mode(dev);