[RFC PATCH] HID: rmi: rmi_hid_2d_sensor_data can be static

From: kbuild test robot
Date: Wed Nov 25 2015 - 20:45:00 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
hid-rmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c
index 81472c9..832c77d 100644
--- a/drivers/hid/hid-rmi.c
+++ b/drivers/hid/hid-rmi.c
@@ -497,7 +497,7 @@ static int rmi_check_valid_report_id(struct hid_device *hdev, unsigned type,
return 0;
}

-struct rmi_2d_sensor_platform_data rmi_hid_2d_sensor_data = {
+static struct rmi_2d_sensor_platform_data rmi_hid_2d_sensor_data = {
.sensor_type = rmi_sensor_touchpad,
.axis_align.flip_y = true,
.kernel_tracking = true,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/