diff options
| author | David Gibson | 2015-07-02 08:23:25 +0200 |
|---|---|---|
| committer | Alexander Graf | 2015-07-07 17:44:53 +0200 |
| commit | e275934d2dd44e38e0c6d53f9c22383d2ba57c17 (patch) | |
| tree | 32c8ae92f2d0c8bedb73a90b30422b1c23a6ce14 /scripts/switch-timer-api | |
| parent | spapr_vty: lookup should only return valid VTY objects (diff) | |
| download | qemu-e275934d2dd44e38e0c6d53f9c22383d2ba57c17.tar.gz qemu-e275934d2dd44e38e0c6d53f9c22383d2ba57c17.tar.xz qemu-e275934d2dd44e38e0c6d53f9c22383d2ba57c17.zip | |
spapr-vty: Use TYPE_ definition instead of hardcoding
There's a call to object_dynamic_cast() in spapr_vty which uses the type
name "spapr-vty" directly, instead of the usual idiom of using the #defined
TYPE_VIO_SPAPR_VTY_DEVICE. Fix it.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
