summaryrefslogtreecommitdiff
path: root/atahpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'atahpt.c')
-rw-r--r--atahpt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/atahpt.c b/atahpt.c
index 0da39e0d..c627e0b7 100644
--- a/atahpt.c
+++ b/atahpt.c
@@ -85,9 +85,7 @@ static int atahpt_init(void)
reg32 |= (1 << 24);
rpci_write_long(dev, REG_FLASH_ACCESS, reg32);
- register_par_master(&par_master_atahpt, BUS_PARALLEL, NULL);
-
- return 0;
+ return register_par_master(&par_master_atahpt, BUS_PARALLEL, NULL);
}
const struct programmer_entry programmer_atahpt = {