Fix a few typos from the last commit
Corresponding to flashrom svn r966.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Sean Nelson <audiohacked@gmail.com>
diff --git a/82802ab.c b/82802ab.c
index 3aa76b4..68054e2 100644
--- a/82802ab.c
+++ b/82802ab.c
@@ -206,10 +206,10 @@
return 0;
}
-int unlock_28f004s5(struct flashrom *flash)
+int unlock_28f004s5(struct flashchip *flash)
{
chipaddr bios = flash->virtual_memory;
- uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0;
+ uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0, i;
/* Clear status register */
chip_writeb(0x50, bios);