Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 714efac0 authored by Himanshu Aggarwal's avatar Himanshu Aggarwal
Browse files

input: hbtp_input: NULL terminate list of attributes



The attrs member of struct attribute_group should be a pointer
to NULL terminated list of struct attribute. NULL terminate
the declaration of variable secure_touch_attrs.

Change-Id: I970e31dc1ae56a05ce172b23b49a5471bec77cce
Signed-off-by: default avatarHimanshu Aggarwal <haggarwa@codeaurora.org>
parent c1b67407
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,8 +325,8 @@ static struct attribute *secure_touch_attrs[] = {
	&dev_attr_secure_touch_enable.attr,
	&dev_attr_secure_touch.attr,
	&dev_attr_secure_touch_userspace.attr,
	NULL
#endif
	NULL
};

static const struct attribute_group secure_touch_attr_group = {