Re: [Qemu-devel] [PATCH v2 1/2] update-linux-headers: Rename SW_MAX to SW_MAX_

2015-10-09 Thread Gerd Hoffmann
On Do, 2015-10-08 at 18:11 +0200, Markus Armbruster wrote: > The next commit will compile hw/input/virtio-input.c and > hw/input/virtio-input-hid.c even when CONFIG_LINUX is off. These > files include both "include/standard-headers/linux/input.h" and > then. Doesn't work, because both define

[Qemu-devel] [PATCH v2 1/2] update-linux-headers: Rename SW_MAX to SW_MAX_

2015-10-08 Thread Markus Armbruster
The next commit will compile hw/input/virtio-input.c and hw/input/virtio-input-hid.c even when CONFIG_LINUX is off. These files include both "include/standard-headers/linux/input.h" and then. Doesn't work, because both define SW_MAX. We don't actually use it. Patch input.h to define SW_MAX_