[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220706013222.5323-1-zeming@nfschina.com>
Date: Wed, 6 Jul 2022 09:32:22 +0800
From: Li zeming <zeming@...china.com>
To: rafael@...nel.org, lenb@...nel.org
Cc: linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...china.com, Li zeming <zeming@...china.com>
Subject: [PATCH] acpi/sbshc: Add header file macro definition
Add header file macro definition.
Signed-off-by: Li zeming <zeming@...china.com>
---
drivers/acpi/sbshc.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/acpi/sbshc.h b/drivers/acpi/sbshc.h
index 695c390e2884..22b11a1655d2 100644
--- a/drivers/acpi/sbshc.h
+++ b/drivers/acpi/sbshc.h
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _SBSHC_H
+#define _SBSHC_H
+
struct acpi_smb_hc;
enum acpi_smb_protocol {
SMBUS_WRITE_QUICK = 2,
@@ -30,3 +33,4 @@ extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_addres
extern int acpi_smbus_register_callback(struct acpi_smb_hc *hc,
smbus_alarm_callback callback, void *context);
extern int acpi_smbus_unregister_callback(struct acpi_smb_hc *hc);
+#endif
--
2.18.2
Powered by blists - more mailing lists