summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorLi zeming <zeming@nfschina.com>2022-07-07 03:53:52 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-11-24 13:12:17 +0100
commit2dfcace75e1e1dfbd89af63fce1bfe8aebe38427 (patch)
tree7cd38b9c7286dae924986209eee42556b29358af /drivers/macintosh
parentmacintosh/via-pmu-backlight: Use backlight helper (diff)
downloadlinux-2dfcace75e1e1dfbd89af63fce1bfe8aebe38427.tar.xz
linux-2dfcace75e1e1dfbd89af63fce1bfe8aebe38427.zip
macintosh/ams/ams: Add header file macro definition
Add header file macro definition. Signed-off-by: Li zeming <zeming@nfschina.com> [mpe: Add endif comment] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220707015352.3391-1-zeming@nfschina.com
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/ams/ams.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/macintosh/ams/ams.h b/drivers/macintosh/ams/ams.h
index 935bdd9cd9a6..2c159c8844c1 100644
--- a/drivers/macintosh/ams/ams.h
+++ b/drivers/macintosh/ams/ams.h
@@ -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,5 @@ extern int ams_i2c_init(struct device_node *np);
extern int ams_input_init(void);
extern void ams_input_exit(void);
+
+#endif /* _AMS_H */