Message-ID: <540D8759.6050300@xenomai.org> Date: Mon, 08 Sep 2014 12:39:21 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <540D4E9A.4090203@siemens.com> <5d07f986ca9ee2f6e65fe10f16a1bf29@grandegger.com> <540D77EB.10602@siemens.com> In-Reply-To: <540D77EB.10602@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Flexcan driver build broken since 3.11 - also in upstream? List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , Wolfgang Grandegger Cc: Xenomai On 09/08/2014 11:33 AM, Jan Kiszka wrote: > On 2014-09-08 11:25, Wolfgang Grandegger wrote: >> On Mon, 08 Sep 2014 08:37:14 +0200, Jan Kiszka >> wrote: >>> Hi all, >>> >>> just noticed a build breakage in Xenomai 2: ksrc/drivers/can/flexcan.c >>> is looking for linux/can/platform/flexcan.h which was removed in >>> baffd2e8d9. But both the Xenomai driver and upstream's flexcan.c still >>> use the flexcan_platform_data structure which I do not find anywhere in >>> the kernel. Does anyone know what happened there? >> >> I just cloned Linus's kernel tree and do *not* see that any CAN driver is >> still including "linux/can/platform/flexcan": >> >> $ grep -r '/platform/flexcan.h' linux/drivers/net/can/ >> $ >> >> Will have a closer look later today. > > Also try "git grep flexcan_platform_data" - confuses me... Well, the driver never uses the contents of the pointer to this structure, so, it does not really need the structure to be defined... Or am I missing something? Anyway, it would seem the driver has been converted to device tree: Documentation/devicetree/bindings/net/can/fsl-flexcan.txt -- Gilles.