diff options
author | Li zeming <zeming@nfschina.com> | 2022-07-07 04:53:52 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-24 15:12:17 +0300 |
commit | 2dfcace75e1e1dfbd89af63fce1bfe8aebe38427 (patch) | |
tree | 7cd38b9c7286dae924986209eee42556b29358af /drivers/macintosh | |
parent | a0542d2c45a64162e63ad2d80684e57de0566271 (diff) | |
download | linux-2dfcace75e1e1dfbd89af63fce1bfe8aebe38427.tar.xz |
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.h | 5 |
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 */ |