summaryrefslogtreecommitdiff
path: root/cgpt/cgpt_nor.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-20 17:43:50 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-28 07:32:05 +0000
commit9adf2aa24307937380debb703ac07b8093a25f61 (patch)
treeb95c5bbb5259714ef86c125894267d0476cd62fe /cgpt/cgpt_nor.h
parenta762fa782793e7b13ba13ceed474f20c54afbdd3 (diff)
downloadvboot-9adf2aa24307937380debb703ac07b8093a25f61.tar.gz
vboot: fix up some headers, includes, comments, spacing
BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: Id97f544da845f7070555e5e8cc6e782b2d45c300 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758151 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'cgpt/cgpt_nor.h')
-rw-r--r--cgpt/cgpt_nor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgpt/cgpt_nor.h b/cgpt/cgpt_nor.h
index b01f88d8..47460895 100644
--- a/cgpt/cgpt_nor.h
+++ b/cgpt/cgpt_nor.h
@@ -6,8 +6,8 @@
* and write to NOR flash.
*/
-#ifndef VBOOT_REFERCENCE_CGPT_CGPT_NOR_H_
-#define VBOOT_REFERCENCE_CGPT_CGPT_NOR_H_
+#ifndef VBOOT_REFERENCE_CGPT_NOR_H_
+#define VBOOT_REFERENCE_CGPT_NOR_H_
// Obtain the MTD size from its sysfs node. |mtd_device| should point to
// a dev node such as /dev/mtd0. This function returns 0 on success.
@@ -31,4 +31,4 @@ int ReadNorFlash(char *temp_dir_template);
// Write "rw_gpt" back to NOR flash. We write the file in two parts for safety.
int WriteNorFlash(const char *dir);
-#endif // VBOOT_REFERCENCE_CGPT_CGPT_NOR_H_
+#endif /* VBOOT_REFERENCE_CGPT_NOR_H_ */