Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1117401imw; Tue, 5 Jul 2022 04:10:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v/JWqxRjNktTeKnWFkJpZn3g6hgYffpkkSAQzJQqXizPsYhYQFPBVHtph+naQvJaY5P0uE X-Received: by 2002:a63:7b5c:0:b0:40d:684:b760 with SMTP id k28-20020a637b5c000000b0040d0684b760mr29346891pgn.323.1657019444059; Tue, 05 Jul 2022 04:10:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657019444; cv=none; d=google.com; s=arc-20160816; b=VlyG9YY1w399fFoobzl9D/wrY8xl1lZYBM5uLLYfC78wxczb93uqOoqpXZEV02Q9EQ g5z6m6kmzL35FzpsbgtG31F96Qgst4a52dLo2PQeLCpLV9W4qGHj5kNkWLINATDb6F1j tZ1ByrTi4OiFAbiKnZK6BtzeLH01XQKKccDKQaFlWP8vOwr6yuYyyL3FiKbfRyKc5PyP lMKlWl1iVSUSHEfqZfd5YQHEdsYzRHuJDIIt4uwehMaYR+mfOeBp5gsT0fso+uUND2IN a5GSn4nPglHstHALaLYqq/xHTY/xhgsOlXifaST6aIonVLHsTyj5S5fz7eFTWKDyOTsa I0mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=tsPJW0cCtRdULSdlGy/5Rv86YqtVop+EfF5DJzNNqIQ=; b=gwBmN7QcJmoWUmQV32BiLZxqUOenqEwVpRm2SmRDQNzgPjpnah59UG54AOvY+goCHW Zo+8cAEdV/iZzjbln4NYOvhHw6xeeEb/tIPIf3rMq0Q30ivhqK7JKmjsEJ/q1XdQJoEO Znx1twZPEJKCtnroIbZelnLBlLqhAbQwDItFLepttEA835dJt9z5Ygd0+vQ0PoBR/KHn 7znrG8j0NutQENsqeCWEXoCmrAIWT7KylNz/z8XybMUACsbECgWcEVVfvcTcmE8bzn8X FUM7rcxIcStIV97PhOs9g3llKI4dyESsdAmzuLyR0XOIy5roVc9LnAjuoe1esbMg0j3W JkBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j63-20020a638b42000000b004121688026asi12269787pge.217.2022.07.05.04.10.27; Tue, 05 Jul 2022 04:10:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231940AbiGEKU3 (ORCPT + 99 others); Tue, 5 Jul 2022 06:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiGEKUZ (ORCPT ); Tue, 5 Jul 2022 06:20:25 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 00F71140A7 for ; Tue, 5 Jul 2022 03:20:20 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 294241E80D71; Tue, 5 Jul 2022 18:18:15 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eaLBT9-2BBQi; Tue, 5 Jul 2022 18:18:12 +0800 (CST) Received: from node1.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 6A2021E80D19; Tue, 5 Jul 2022 18:18:12 +0800 (CST) From: Li zeming To: w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, samuel.thibault@ens-lyon.org Cc: speakup@linux-speakup.org, linux-kernel@vger.kernel.org, Li zeming Subject: [PATCH] accessibility/speakup/speakup_acnt: Add header file macro definition Date: Tue, 5 Jul 2022 18:19:55 +0800 Message-Id: <20220705101955.27337-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I think the header file could avoid redefinition errors. at compile time by adding macro definitions. Signed-off-by: Li zeming --- drivers/accessibility/speakup/speakup_acnt.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.18.2