Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1570791

Re: [PATCH v3 3/5] serdev: Introduce new bus for serial attached devices

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/5] serdev: Introduce new bus for serial attached devices
Date 2017-01-31 15:40 +0100
Message-ID <t5HLc-1Ot-15@gated-at.bofh.it> (permalink)
References <t3CmB-6vC-11@gated-at.bofh.it> <t3CmC-6vC-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Rob,

On Wed, Jan 25, 2017 at 02:23:41PM -0600, Rob Herring wrote:
> diff --git a/include/linux/serdev.h b/include/linux/serdev.h
> new file mode 100644
> index 000000000000..4f8f76d02ca8
> --- /dev/null
> +++ b/include/linux/serdev.h
>
> [...]
>
> +#ifdef CONFIG_SERIAL_DEV_BUS
>
> [method definitions]
>
> #else
>
> [method stubs]
>
> #endif
>
> [...]

This should also test for SERIAL_DEV_BUS=m, so use

#if IS_ENABLED(CONFIG_SERIAL_DEV_BUS)

(This was found by the kbuild test robot)

-- Sebastian

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v3 3/5] serdev: Introduce new bus for serial attached  devices Sebastian Reichel <sre@kernel.org> - 2017-01-31 15:40 +0100

csiph-web