Subject: Re: [PATCH] net-next:can: add TI CAN (HECC) driver

From: Oliver Hartkopp <[email-masked]>
Date: Fri, 28 Aug 2009 15:27:49 +0200

Gole, Anant wrote:

>>> +#include <linux/can/platform/ti_hecc_platform.h>
>> Please use
>>
>> linux/can/platform/ti_hecc.c
> 
> are you suggesting to keep the platform file name as ti_hecc.h?
> 

Yep!

We currently have

linux/can/platform/sja1000.h
linux/can/platform/mcp251x.h

there. And as you need the full path for the include anyway, we decided to put
these CAN specific platform includes in linux/can/platform.

Else we would end with tons of <drivername>_platform.h in linux/can where we
have all the common stuff for CAN networking layer, etc.

Regards,
Oliver