projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0542d2
)
macintosh/ams/ams: Add header file macro definition
author
Li zeming
<zeming@nfschina.com>
Thu, 7 Jul 2022 01:53:52 +0000
(09:53 +0800)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:12:17 +0000
(23:12 +1100)
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
drivers/macintosh/ams/ams.h
patch
|
blob
|
history
diff --git
a/drivers/macintosh/ams/ams.h
b/drivers/macintosh/ams/ams.h
index 935bdd9cd9a63c3b6915ac6d53cfa1234d35f369..2c159c8844c198cfcba9ee032b4c717e5deeb37e 100644
(file)
--- 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 */