MLK-13471: fxls8471: add a symbol export to fix module build
authorJulien Olivain <julien.olivain@nxp.com>
Tue, 15 Nov 2016 16:35:13 +0000 (17:35 +0100)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:52 +0000 (15:33 -0500)
When CONFIG_SENSOR_FXLS8471=m build was failing due to missing
exported symbol. This patch export the missing symbol.

Signed-off-by: Julien Olivain <julien.olivain@nxp.com>
drivers/input/misc/fxls8471.c

index e77ef1b..ef7368b 100644 (file)
@@ -49,6 +49,7 @@
 #define FXLS8471_BUF_SIZE              6
 
 struct fxls8471_data fxls8471_dev;
+EXPORT_SYMBOL(fxls8471_dev);
 
 static int fxls8471_position_setting[8][3][3] = {
        {{0, -1, 0}, {1, 0, 0}, {0, 0, 1} },