diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-06 09:14:45 +0200 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2019-08-08 19:59:50 +0200 |
commit | 390235c3e66036351e2a89b925843a741c8afd6c (patch) | |
tree | 6408e0d901328386ae6785606138c8c9d5d485c4 /drivers/auxdisplay | |
parent | auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay (diff) | |
download | linux-390235c3e66036351e2a89b925843a741c8afd6c.tar.xz linux-390235c3e66036351e2a89b925843a741c8afd6c.zip |
auxdisplay: charlcd: add include guard to charlcd.h
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'drivers/auxdisplay')
-rw-r--r-- | drivers/auxdisplay/charlcd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/auxdisplay/charlcd.h b/drivers/auxdisplay/charlcd.h index 8cf6c18b0adb..00911ad0f3de 100644 --- a/drivers/auxdisplay/charlcd.h +++ b/drivers/auxdisplay/charlcd.h @@ -6,6 +6,9 @@ * Copyright (C) 2016-2017 Glider bvba */ +#ifndef _CHARLCD_H +#define _CHARLCD_H + struct charlcd { const struct charlcd_ops *ops; const unsigned char *char_conv; /* Optional */ @@ -37,3 +40,5 @@ int charlcd_register(struct charlcd *lcd); int charlcd_unregister(struct charlcd *lcd); void charlcd_poke(struct charlcd *lcd); + +#endif /* CHARLCD_H */ |