Permalink
Browse files

[HACK] Implement missing symbol for GT801NI touchscreen

This lets us load a binary only module, after editing it to
match vermagic and disabling MODVERSIONS on the kernel.
  • Loading branch information...
1 parent 5b94f0a commit c5ce10353d48a704540cd8fa0c5d2e90e380aaf8 @turl turl committed May 26, 2012
@@ -737,6 +737,14 @@ config TOUCHSCREEN_GT801
depends on I2C
help
GT801 touchscreen driver
+
+config TOUCHSCREEN_GT801NI
+ tristate "hack to load binary module for GT801NI"
+ depends on I2C
+ help
+ This implements a symbol to be able to load a
+ binary module for GT801NI touchscreen
+
config TOUCHSCREEN_SUN4I_TS
tristate "sun4i-ts touchscreen driver"
help
@@ -63,6 +63,7 @@ obj-$(CONFIG_TOUCHSCREEN_W90X900) += w90p910_ts.o
obj-$(CONFIG_TOUCHSCREEN_TPS6507X) += tps6507x-ts.o
obj-$(CONFIG_TOUCHSCREEN_FT5X_TS) += ft5x_ts.o
obj-$(CONFIG_TOUCHSCREEN_GT801) += goodix_touch.o
+obj-$(CONFIG_TOUCHSCREEN_GT801NI) += goodix_hack.o
obj-$(CONFIG_TOUCHSCREEN_ZT8031) += zt8031.o
obj-$(CONFIG_TOUCHSCREEN_COASIA) += coasia_i2c.o
obj-$(CONFIG_TOUCHSCREEN_SUN4I_TS) += sun4i-ts.o
@@ -0,0 +1,5 @@
+#include <linux/module.h>
+
+int m_inet_ctpState = 0;
+
+EXPORT_SYMBOL(m_inet_ctpState);

0 comments on commit c5ce103

Please sign in to comment.