Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3293811yba; Mon, 8 Apr 2019 15:39:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAaJIdfo+3b+RdUxNrDXqy6ew5vml6O4iYF1LQwaMgGOQcFkzVMJh3Lnc+DGh4Ie23VFbd X-Received: by 2002:a63:2c4c:: with SMTP id s73mr25524106pgs.42.1554763169737; Mon, 08 Apr 2019 15:39:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554763169; cv=none; d=google.com; s=arc-20160816; b=wslIQUqp7cARN+CmAGUrbZ4fF8dvchUjwum1C12CLbbTcNssWMstJFajepLSt/2qIB Kgql2m6PCPu0KYVb/VDx/FRngCIw4YCAMXlDiGcNeYyzVzm1D07cKBJOhwrQjAWHwSia zSrfXVMGJKpRqjdCSojn/O8Gv1+CI642U6Pqqq6gKNuzmyJbm7YoB0sdLvskEeZZ28P7 WXTpyu9k4HW3Oi+9bOq6cM6dUa4scYxW5nSWzBsgQQjgSOOK9wwb4DPHgXDVWrPLGzWI S3r/gHah/4seGaRGAF8xG2knOsqstZsX82RFWiI95Wr82v00jKAjhdIcEQidFBmdb9an cxLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NPG1KOHuMsDrnwNsUvw02WbVLkJlxwlK+VlIXQRGPPM=; b=LJzMZZaSetAr6ie0OMmXj28yisSu3IKH0PZCI2AQ/GTC6bS1vUj6HqYeaTVnLUu6Nl yy0r+yWfKpB9EZ28L4CprvcWdf2i+57DfOx73qj6iRaM1t5/OwwJ+NAu+XxWtdvLQckD yiWKbVgqDecROlOZiDuE6fV7D28qEJ+oxhfsxKMTIYvrMwlbCvfIOTfHnbDwIMm7WOXl j1HVDBcJeNbRkr5AU4HBvcHY2LrPIBc2CgbCx9+EaGGD7KMyYQkIHjgCAzRm6Xrop/a7 +aNk9DCTBaN62ROdBbaMslSKHifF8JqTMUpAXTXTBS/qE+upZykP9rfMp9vw5FEH2c0W zKxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si28518019ple.52.2019.04.08.15.39.12; Mon, 08 Apr 2019 15:39:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbfDHVzT (ORCPT + 99 others); Mon, 8 Apr 2019 17:55:19 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:57118 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbfDHVzT (ORCPT ); Mon, 8 Apr 2019 17:55:19 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 02D5380569; Mon, 8 Apr 2019 23:55:07 +0200 (CEST) Date: Mon, 8 Apr 2019 23:55:15 +0200 From: Pavel Machek To: William Breathitt Gray Cc: gregkh@linuxfoundation.org, jic23@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, fabrice.gasnier@st.com, benjamin.gaignard@st.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, akpm@linux-foundation.org, david@lechnology.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, daniel.lezcano@linaro.org, tglx@linutronix.de, thierry.reding@gmail.com, esben@haabendal.dk, linux-pwm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, patrick.havelange@essensium.com, Jonathan Cameron Subject: Re: [PATCH v10 01/18] counter: Introduce the Generic Counter interface Message-ID: <20190408215515.GA27592@amd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +const char *const counter_count_direction_str[2] =3D { > + [COUNTER_COUNT_DIRECTION_FORWARD] =3D "forward", > + [COUNTER_COUNT_DIRECTION_BACKWARD] =3D "backward" > +}; > +EXPORT_SYMBOL_GPL(counter_count_direction_str); > + > +const char *const counter_count_mode_str[4] =3D { > + [COUNTER_COUNT_MODE_NORMAL] =3D "normal", > + [COUNTER_COUNT_MODE_RANGE_LIMIT] =3D "range limit", > + [COUNTER_COUNT_MODE_NON_RECYCLE] =3D "non-recycle", > + [COUNTER_COUNT_MODE_MODULO_N] =3D "modulo-n" > +}; > +EXPORT_SYMBOL_GPL(counter_count_mode_str); Dunno. Exporting const tables saying "forward" and "backward". Can we =2E.. somehow make it work without need to export this? --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlyrw0MACgkQMOfwapXb+vI0fQCeOVJVU9FSIbeRA4WSFP7n6OI7 dq8AnR+Ykf6BWrqHixl+oRJ+LYhLlFau =/6R+ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--