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


Groups > linux.kernel > #1570791 > unrolled thread

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

Started bySebastian Reichel <sre@kernel.org>
First post2017-01-31 15:40 +0100
Last post2017-01-31 15:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromSebastian Reichel <sre@kernel.org>
Date2017-01-31 15:40 +0100
SubjectRe: [PATCH v3 3/5] serdev: Introduce new bus for serial attached devices
Message-ID<t5HLc-1Ot-15@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web