Message ID | 20190806071445.13705-2-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 390235c3e66036351e2a89b925843a741c8afd6c |
Headers | show |
Series | [1/2] auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay | expand |
On Tue, Aug 6, 2019 at 9:15 AM Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > > Add a header include guard just in case. > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Picked it up, thanks! Cheers, Miguel
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 */
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- drivers/auxdisplay/charlcd.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.17.1