Skip to contentSkip to conversation

macintosh/ams/ams: Add header file macro definition

PATCH Applied Li zeming 2 participants 2 messages Jul 7, 2022 – Nov 30, 2022 Linux for power macintosh

lore
Share & tools
lore

Li zeming

author
#0 lore raw

PATCH 1/1 macintosh/ams/ams: Add header file macro definition

Add header file macro definition.

---
 drivers/macintosh/ams/ams.h | 4 ++++
 1 file changed, 4 insertions(+)
drivers/macintosh/ams/ams.h +4 -0
index 935bdd9cd9a6..5ec5547f151b 100644
@@ -1,4 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _AMS_H
+#define _AMS_H
+
 #include <linux/i2c.h>
 #include <linux/input.h>
 #include <linux/kthread.h>
@@ -69,3 +72,4 @@ extern int ams_i2c_init(struct device_node *np);
 
 extern int ams_input_init(void);
 extern void ams_input_exit(void);
+#endif
Signature · 1 line
2.18.2