Przeglądaj źródła

屏蔽gsensor驱动

qidong.liu 1 miesiąc temu
rodzic
commit
0d8ecbc26d
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12 0
      gsensor.c

+ 12 - 0
gsensor.c

@@ -20,6 +20,7 @@
 #include <linux/iio/trigger_consumer.h>
 #include <linux/irq.h>
 
+#if 0
 extern struct kobject *vfiec_kobj;
 
 /* Verifone API Definitions */
@@ -786,3 +787,14 @@ MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Verifone, Inc.");
 MODULE_DESCRIPTION("Verifone Gsensor driver for screen orientation");
 
+#endif
+
+void gsensor_exit_main(void)
+{
+
+}
+
+int gsensor_init_main(void)
+{
+    return 0;
+}