input: touchscreen: elan5515: Fix build as modules

drivers/input/touchscreen/elan/elan_update.c:40:22: error: incomplete definition of type 'struct i2c_client'

Fixes: 7f61b3481d ("input: touchscreen: support ELAN TP_5515")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9b5aa8c8fc5d6ee2082938dc74719a2db9041f9d
This commit is contained in:
Tao Huang
2021-11-15 11:06:48 +08:00
parent bca20667e3
commit 063b107f0e
2 changed files with 1 additions and 1 deletions

View File

@@ -17,7 +17,6 @@
*/
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/interrupt.h>

View File

@@ -10,6 +10,7 @@
#ifndef _LINUX_ELAN_TS_H
#define _LINUX_ELAN_TS_H
#include <linux/i2c.h>
#include <linux/miscdevice.h>
#include <linux/regulator/consumer.h>
#include <linux/uaccess.h>