tablet: initialize all unused dispatch callbacks to NULL

evdev-tablet.c:545:1: warning: missing initializer for field 'device_added' of
'struct evdev_dispatch_interface' [-Wmissing-field-initializers]

and similar

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-12-08 12:36:51 +10:00
parent 83f97991a0
commit 1809baa59e

View file

@ -541,7 +541,12 @@ tablet_destroy(struct evdev_dispatch *dispatch)
static struct evdev_dispatch_interface tablet_interface = {
tablet_process,
tablet_destroy
tablet_destroy,
NULL, /* device_added */
NULL, /* device_removed */
NULL, /* device_suspended */
NULL, /* device_resumed */
NULL, /* tag_device */
};
static int