summaryrefslogtreecommitdiff
path: root/src/mainboard/roda
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/roda')
-rw-r--r--src/mainboard/roda/rk886ex/early_init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/roda/rk886ex/early_init.c b/src/mainboard/roda/rk886ex/early_init.c
index fe61187f24..baa17d174c 100644
--- a/src/mainboard/roda/rk886ex/early_init.c
+++ b/src/mainboard/roda/rk886ex/early_init.c
@@ -35,9 +35,7 @@ void mainboard_lpc_decode(void)
void bootblock_mainboard_early_init(void)
{
- pnp_devfn_t dev;
-
- dev = PNP_DEV(0x2e, 0x00);
+ const pnp_devfn_t dev = PNP_DEV(0x2e, 0x00);
pnp_enter_conf_state(dev);
pnp_write_config(dev, 0x01, 0x94); /* Extended Parport modes */