summaryrefslogtreecommitdiff
path: root/drivers/accessibility
diff options
context:
space:
mode:
authorLi zeming <zeming@nfschina.com>2026-06-01 01:07:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-17 14:54:55 +0200
commit3adfac7a7494253c05b2a76508aec52dd0894ddf (patch)
treef9793a550cbb6548b09141857b0fd5e3d7919360 /drivers/accessibility
parenta477830bc2d615fa0dfd52508d8c94cec6721299 (diff)
downloadlinux-next-3adfac7a7494253c05b2a76508aec52dd0894ddf.tar.gz
linux-next-3adfac7a7494253c05b2a76508aec52dd0894ddf.zip
accessibility/speakup/speakup_acnt: Add header file macro definition
I think the header file could avoid redefinition errors. at compile time by adding macro definitions. Signed-off-by: Li zeming <zeming@nfschina.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Link: https://patch.msgid.link/20260531230804.254962-2-samuel.thibault@ens-lyon.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility')
-rw-r--r--drivers/accessibility/speakup/speakup_acnt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/accessibility/speakup/speakup_acnt.h b/drivers/accessibility/speakup/speakup_acnt.h
index cffa938ae580..cea05d770f6d 100644
--- a/drivers/accessibility/speakup/speakup_acnt.h
+++ b/drivers/accessibility/speakup/speakup_acnt.h
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* speakup_acntpc.h - header file for speakups Accent-PC driver. */
+#ifndef _SPEAKUP_ACNT_H
+#define _SPEAKUP_ACNT_H
#define SYNTH_IO_EXTENT 0x02
@@ -17,3 +19,4 @@
#define SYNTH_FULL 'F' /* synth is full. */
#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
#define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
+#endif