hw/ide: Make IDEDMAOps handlers take a const IDEDMA pointer
commitae0cebd71215188951902c5ccdd8685e431c286c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 12 May 2020 19:49:17 +0000 (12 21:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 17 Jun 2020 12:53:39 +0000 (17 14:53 +0200)
treef8f9ecf070183afdec102955670a0e7fa3bbd5cf
parent5c24bce3056ff209a1ecc50ff4b7e65b85ad8e74
hw/ide: Make IDEDMAOps handlers take a const IDEDMA pointer

Handlers don't need to modify the IDEDMA structure.
Make it const.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200512194917.15807-1-philmd@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/ahci.c
hw/ide/core.c
hw/ide/macio.c
hw/ide/pci.c
include/hw/ide/internal.h