[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1610201958110.4938@nanos>
Date: Thu, 20 Oct 2016 19:58:47 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Nicolas Pitre <nicolas.pitre@...aro.org>
cc: John Stultz <john.stultz@...aro.org>,
Richard Cochran <richardcochran@...il.com>,
Yann E MORIN <yann.morin.1998@...e.fr>,
Josh Triplett <josh@...htriplett.org>, netdev@...r.kernel.org,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] ptp_clock: allow for it to be optional
On Thu, 20 Oct 2016, Nicolas Pitre wrote:
> On Thu, 20 Oct 2016, Thomas Gleixner wrote:
>
> > On Wed, 19 Oct 2016, Nicolas Pitre wrote:
> > > The pch_gbe driver is a bit special as it relies on extra code in
> > > drivers/ptp/ptp_pch.c. Therefore we let the make process descend into
> > > drivers/ptp/ even if PTP_1588_CLOCK is unselected.
> >
> > The above paragraph looks like a leftover of the previous patch set.
>
> Not really. Without the change to drivers/Makefile, drivers/ptp/ is not
> visited when CONFIG_PTP_1588_CLOCK=n. If you then have CONFIG_PCH_GBE=y
> you end up with:
>
> drivers/built-in.o: In function `pch_gbe_ioctl':
> pch_gbe_main.c:(.text+0x28c914): undefined reference to `pch_ch_control_write'
>
> Hence the above paragraph.
Indeed. I misread that.
Thanks,
tglx
Powered by blists - more mailing lists