From 7d4b4ba5c2bae99d44f265884b567ae63947bb4a Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 6 Sep 2011 18:58:59 +0200 Subject: block: New change_media_cb() parameter load To let device models distinguish between eject and load. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- hw/fdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/fdc.c') diff --git a/hw/fdc.c b/hw/fdc.c index 57eda0c722..433af73ad7 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -1777,7 +1777,7 @@ static void fdctrl_result_timer(void *opaque) fdctrl_stop_transfer(fdctrl, 0x00, 0x00, 0x00); } -static void fdctrl_change_cb(void *opaque) +static void fdctrl_change_cb(void *opaque, bool load) { FDrive *drive = opaque; -- cgit 1.4.1