m48t59: remove unused m48t59_set_addr
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
a9523d14c4
commit
4d4d9b3adb
@ -468,13 +468,6 @@ uint32_t m48t59_read (void *opaque, uint32_t addr)
|
||||
return retval;
|
||||
}
|
||||
|
||||
void m48t59_set_addr (void *opaque, uint32_t addr)
|
||||
{
|
||||
M48t59State *NVRAM = opaque;
|
||||
|
||||
NVRAM->addr = addr;
|
||||
}
|
||||
|
||||
void m48t59_toggle_lock (void *opaque, int lock)
|
||||
{
|
||||
M48t59State *NVRAM = opaque;
|
||||
|
@ -30,6 +30,5 @@ M48t59State *m48t59_init_isa(ISABus *bus, uint32_t io_base, uint16_t size,
|
||||
int type);
|
||||
M48t59State *m48t59_init(qemu_irq IRQ, hwaddr mem_base,
|
||||
uint32_t io_base, uint16_t size, int type);
|
||||
void m48t59_set_addr (void *opaque, uint32_t addr);
|
||||
|
||||
#endif /* !NVRAM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user