2022-07-06 01:33:09

by Li zeming

[permalink] [raw]
Subject: [PATCH] accessibility/speakup/speakup_dtlk: Add header file macro definition

Add header file macro definition.

Signed-off-by: Li zeming <[email protected]>
---
drivers/accessibility/speakup/speakup_dtlk.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/accessibility/speakup/speakup_dtlk.h b/drivers/accessibility/speakup/speakup_dtlk.h
index 9c378b58066e..101848edec2e 100644
--- a/drivers/accessibility/speakup/speakup_dtlk.h
+++ b/drivers/accessibility/speakup/speakup_dtlk.h
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* speakup_dtlk.h - header file for speakups DoubleTalk driver. */
+#ifndef _SPEAKUP_DTLK_H
+#define _SPEAKUP_DTLK_H

#define SYNTH_IO_EXTENT 0x02
#define SYNTH_CLEAR 0x18 /* stops speech */
@@ -61,3 +63,4 @@ struct synth_settings {
*/
u_char has_indexing; /* nonzero if indexing is implemented */
};
+#endif
--
2.18.2


2022-07-06 06:55:51

by Samuel Thibault

[permalink] [raw]
Subject: Re: [PATCH] accessibility/speakup/speakup_dtlk: Add header file macro definition

Li zeming, le mer. 06 juil. 2022 09:04:30 +0800, a ecrit:
> Add header file macro definition.
>
> Signed-off-by: Li zeming <[email protected]>

Reviewed-by: Samuel Thibault <[email protected]>

> ---
> drivers/accessibility/speakup/speakup_dtlk.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/accessibility/speakup/speakup_dtlk.h b/drivers/accessibility/speakup/speakup_dtlk.h
> index 9c378b58066e..101848edec2e 100644
> --- a/drivers/accessibility/speakup/speakup_dtlk.h
> +++ b/drivers/accessibility/speakup/speakup_dtlk.h
> @@ -1,5 +1,7 @@
> /* SPDX-License-Identifier: GPL-2.0 */
> /* speakup_dtlk.h - header file for speakups DoubleTalk driver. */
> +#ifndef _SPEAKUP_DTLK_H
> +#define _SPEAKUP_DTLK_H
>
> #define SYNTH_IO_EXTENT 0x02
> #define SYNTH_CLEAR 0x18 /* stops speech */
> @@ -61,3 +63,4 @@ struct synth_settings {
> */
> u_char has_indexing; /* nonzero if indexing is implemented */
> };
> +#endif
> --
> 2.18.2
>

--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.