summaryrefslogtreecommitdiffstats
path: root/it8212.c
diff options
context:
space:
mode:
Diffstat (limited to 'it8212.c')
-rw-r--r--it8212.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/it8212.c b/it8212.c
index 620a15cba..e47f6f8ee 100644
--- a/it8212.c
+++ b/it8212.c
@@ -75,8 +75,7 @@ static int it8212_init(void)
rpci_write_long(dev, PCI_ROM_ADDRESS, io_base_addr | 0x01);
max_rom_decode.parallel = IT8212_MEMMAP_SIZE;
- register_par_master(&par_master_it8212, BUS_PARALLEL, NULL);
- return 0;
+ return register_par_master(&par_master_it8212, BUS_PARALLEL, NULL);
}
const struct programmer_entry programmer_it8212 = {
.name = "it8212",