aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rmi.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-11-30 17:01:50 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-30 17:42:19 -0800
commit0a135b88bceac40d0036e401c19cdbda65b38a8f (patch)
treeb5bbd78e35099836c45f2e5210793e421abb51b3 /include/linux/rmi.h
parentInput: synaptics-rmi4 - remove EXPORT_SYMBOL_GPL for internal functions (diff)
downloadlinux-dev-0a135b88bceac40d0036e401c19cdbda65b38a8f.tar.xz
linux-dev-0a135b88bceac40d0036e401c19cdbda65b38a8f.zip
Input: synaptics-rmi4 - have only one struct platform data
If struct rmi_device_platform_data contains pointers to other struct, it gets difficult to allocate a fixed size struct and copy it over between drivers. Change the pointers into a struct and change the code in rmi4 accordingly. Reviewed-by: Andrew Duggan <aduggan@synaptics.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rmi.h')
-rw-r--r--include/linux/rmi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index 621f098f1243..7780e40a2573 100644
--- a/include/linux/rmi.h
+++ b/include/linux/rmi.h
@@ -218,9 +218,9 @@ struct rmi_device_platform_data {
struct rmi_device_platform_data_spi spi_data;
/* function handler pdata */
- struct rmi_2d_sensor_platform_data *sensor_pdata;
+ struct rmi_2d_sensor_platform_data sensor_pdata;
struct rmi_f01_power_management power_management;
- struct rmi_f30_data *f30_data;
+ struct rmi_f30_data f30_data;
};
/**