summaryrefslogtreecommitdiff
path: root/include/drivers/marvell/i2c.h
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio.ninodiaz@arm.com>2018-11-08 12:22:42 +0100
committerGitHub <noreply@github.com>2018-11-08 12:22:42 +0100
commit9d068f66b15e644df4961b74b965323c20f21f14 (patch)
treea10cbb4dba8a33d5a444ed37486f013f19eab635 /include/drivers/marvell/i2c.h
parentf5ae1b0e098277a5b02a823a23f61577e53eadf2 (diff)
parentc3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84 (diff)
Merge pull request #1673 from antonio-nino-diaz-arm/an/headers
Standardise header guards across codebase
Diffstat (limited to 'include/drivers/marvell/i2c.h')
-rw-r--r--include/drivers/marvell/i2c.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/drivers/marvell/i2c.h b/include/drivers/marvell/i2c.h
index bd143852..06c5114b 100644
--- a/include/drivers/marvell/i2c.h
+++ b/include/drivers/marvell/i2c.h
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
-#ifndef _I2C_H_
-#define _I2C_H_
+#ifndef I2C_H
+#define I2C_H
void i2c_init(void);
@@ -16,4 +16,5 @@ int i2c_read(uint8_t chip,
int i2c_write(uint8_t chip,
unsigned int addr, int alen, uint8_t *buffer, int len);
-#endif
+
+#endif /* I2C_H */