public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw•cz>
To: William Breathitt Gray <vilhelm.gray@gmail•com>
Cc: mark.rutland@arm•com, benjamin.gaignard@st•com,
	linux-pwm@vger•kernel.org, linux-iio@vger•kernel.org,
	patrick.havelange@essensium•com, thierry.reding@gmail•com,
	pmeerw@pmeerw•net, lars@metafoo•de, daniel.lezcano@linaro•org,
	linux-arm-kernel@lists•infradead.org, devicetree@vger•kernel.org,
	david@lechnology•com, linuxppc-dev@lists•ozlabs.org,
	robh+dt@kernel•org,
	Jonathan Cameron <Jonathan.Cameron@huawei•com>,
	tglx@linutronix•de, fabrice.gasnier@st•com, esben@haabendal•dk,
	gregkh@linuxfoundation•org, linux-kernel@vger•kernel.org,
	leoyang.li@nxp•com, knaack.h@gmx•de, akpm@linux-foundation•org,
	shawnguo@kernel•org, jic23@kernel•org
Subject: Re: [PATCH v10 01/18] counter: Introduce the Generic Counter interface
Date: Mon, 8 Apr 2019 23:55:15 +0200	[thread overview]
Message-ID: <20190408215515.GA27592@amd> (raw)
In-Reply-To: <ad3a8c427a911848373eae1c08e89353ffb6cb6d.1554184734.git.vilhelm.gray@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 811 bytes --]

Hi!

> +const char *const counter_count_direction_str[2] = {
> +	[COUNTER_COUNT_DIRECTION_FORWARD] = "forward",
> +	[COUNTER_COUNT_DIRECTION_BACKWARD] = "backward"
> +};
> +EXPORT_SYMBOL_GPL(counter_count_direction_str);
> +
> +const char *const counter_count_mode_str[4] = {
> +	[COUNTER_COUNT_MODE_NORMAL] = "normal",
> +	[COUNTER_COUNT_MODE_RANGE_LIMIT] = "range limit",
> +	[COUNTER_COUNT_MODE_NON_RECYCLE] = "non-recycle",
> +	[COUNTER_COUNT_MODE_MODULO_N] = "modulo-n"
> +};
> +EXPORT_SYMBOL_GPL(counter_count_mode_str);

Dunno. Exporting const tables saying "forward" and "backward". Can we
... somehow make it work without need to export this?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-04-08 21:55 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02  6:30 [PATCH v10 00/18] Introduce the Counter subsystem William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 01/18] counter: Introduce the Generic Counter interface William Breathitt Gray
2019-04-08 21:55   ` Pavel Machek [this message]
2019-04-09  4:57     ` William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 02/18] counter: Documentation: Add Generic Counter sysfs documentation William Breathitt Gray
2019-04-08 21:55   ` Pavel Machek
2019-04-09  5:07     ` William Breathitt Gray
2019-04-09 13:12     ` David Lechner
2019-04-02  6:30 ` [PATCH v10 03/18] docs: Add Generic Counter interface documentation William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 04/18] iio: 104-quad-8: Update license boilerplate William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 05/18] counter: 104-quad-8: Add Generic Counter interface support William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 06/18] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 07/18] counter: Add STM32 Timer quadrature encoder William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 08/18] dt-bindings: counter: Document stm32 " William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 09/18] counter: stm32-lptimer: add counter device William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 10/18] dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 11/18] iio: counter: Add deprecation markings for IIO Counter attributes William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 12/18] include/fsl: add common FlexTimer #defines in a separate header William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 13/18] drivers/pwm: pwm-fsl-ftm: use common header for FlexTimer #defines William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 14/18] drivers/clocksource: timer-fsl-ftm: " William Breathitt Gray
2019-04-25 21:41   ` Daniel Lezcano
2019-04-02  6:30 ` [PATCH v10 15/18] dt-bindings: counter: ftm-quaddec William Breathitt Gray
2019-04-26 14:10   ` Rob Herring
2019-04-02  6:30 ` [PATCH v10 16/18] counter: add FlexTimer Module Quadrature decoder counter driver William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 17/18] counter: ftm-quaddec: Documentation: Add specific counter sysfs documentation William Breathitt Gray
2019-04-02  6:30 ` [PATCH v10 18/18] LS1021A: dtsi: add ftm quad decoder entries William Breathitt Gray
2019-04-07 14:25 ` [PATCH v10 00/18] Introduce the Counter subsystem Jonathan Cameron
2019-04-25 19:36   ` Greg KH
2019-04-27 11:49     ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190408215515.GA27592@amd \
    --to=pavel@ucw$(echo .)cz \
    --cc=Jonathan.Cameron@huawei$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=benjamin.gaignard@st$(echo .)com \
    --cc=daniel.lezcano@linaro$(echo .)org \
    --cc=david@lechnology$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=esben@haabendal$(echo .)dk \
    --cc=fabrice.gasnier@st$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=jic23@kernel$(echo .)org \
    --cc=knaack.h@gmx$(echo .)de \
    --cc=lars@metafoo$(echo .)de \
    --cc=leoyang.li@nxp$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-iio@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-pwm@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=patrick.havelange@essensium$(echo .)com \
    --cc=pmeerw@pmeerw$(echo .)net \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=shawnguo@kernel$(echo .)org \
    --cc=tglx@linutronix$(echo .)de \
    --cc=thierry.reding@gmail$(echo .)com \
    --cc=vilhelm.gray@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox