Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
16 lines
512 B
C
16 lines
512 B
C
#include <linux/kobject.h>
|
|
|
|
extern bool capacitive_keys_enabled;
|
|
extern struct kobject *touchpanel_kobj;
|
|
|
|
struct tp_common_ops {
|
|
ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr,
|
|
char *buf);
|
|
ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
|
|
const char *buf, size_t count);
|
|
};
|
|
|
|
int tp_common_set_capacitive_keys_ops(struct tp_common_ops *ops);
|
|
int tp_common_set_double_tap_ops(struct tp_common_ops *ops);
|
|
int tp_common_set_reversed_keys_ops(struct tp_common_ops *ops);
|