mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/input/tsc2xxx: Constify set_transform()'s MouseTransformInfo arg
The pointed MouseTransformInfo structure is accessed read-only. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20221220142520.24094-2-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
edd2dc4e3a
commit
3d15370894
3 changed files with 4 additions and 5 deletions
|
@ -523,7 +523,7 @@ void *tsc2005_init(qemu_irq pintdav)
|
|||
* from the touchscreen. Assuming 12-bit precision was used during
|
||||
* tslib calibration.
|
||||
*/
|
||||
void tsc2005_set_transform(void *opaque, MouseTransformInfo *info)
|
||||
void tsc2005_set_transform(void *opaque, const MouseTransformInfo *info)
|
||||
{
|
||||
TSC2005State *s = (TSC2005State *) opaque;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue