mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] macintosh/ams/ams: Add header file macro definition
@ 2022-07-07  1:53 Li zeming
  2022-11-30  9:23 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Li zeming @ 2022-07-07  1:53 UTC (permalink / raw)
  To: benh; +Cc: linuxppc-dev, linux-kernel, Li zeming

Add header file macro definition.

Signed-off-by: Li zeming <zeming@nfschina.com>
---
 drivers/macintosh/ams/ams.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/macintosh/ams/ams.h b/drivers/macintosh/ams/ams.h
index 935bdd9cd9a6..5ec5547f151b 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,4 @@ extern int ams_i2c_init(struct device_node *np);
 
 extern int ams_input_init(void);
 extern void ams_input_exit(void);
+#endif
-- 
2.18.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] macintosh/ams/ams: Add header file macro definition
  2022-07-07  1:53 [PATCH] macintosh/ams/ams: Add header file macro definition Li zeming
@ 2022-11-30  9:23 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2022-11-30  9:23 UTC (permalink / raw)
  To: benh, Li zeming; +Cc: linuxppc-dev, linux-kernel

On Thu, 7 Jul 2022 09:53:52 +0800, Li zeming wrote:
> Add header file macro definition.
> 
> 

Applied to powerpc/next.

[1/1] macintosh/ams/ams: Add header file macro definition
      https://git.kernel.org/powerpc/c/2dfcace75e1e1dfbd89af63fce1bfe8aebe38427

cheers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-30  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07  1:53 [PATCH] macintosh/ams/ams: Add header file macro definition Li zeming
2022-11-30  9:23 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®