dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/can
Marc Kleine-Budde f1f8c6cbe6 can: mcp251x: Don't use pdata->model for chip selection anymore
Since commit e446630c96, i.e. v2.6.35-rc1,
the mcp251x chip model can be selected via the modalias member in the
struct spi_board_info. The driver stores the actual model in the
struct mcp251x_platform_data.

From the driver point of view the platform_data should be read only.
Since all in-tree users of the mcp251x have already been converted to
the modalias method, this patch moves the "model" member from the
struct mcp251x_platform_data to the driver's private data structure.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Christian Pellegrin <chripell@fsfe.org>
Cc: Marc Zyngier <maz@misterjones.org>
2010-10-18 15:16:08 +02:00
..
platform can: mcp251x: Don't use pdata->model for chip selection anymore 2010-10-18 15:16:08 +02:00
Kbuild can: CAN Network device driver and Netlink interface 2009-05-18 15:41:41 -07:00
bcm.h headers_check fix: can/bcm.h 2009-01-30 19:50:25 +05:30
core.h net: drop capability from protocol definitions 2009-11-05 21:40:17 -08:00
dev.h Fix some #includes in CAN drivers (rebased for net-next-2.6) 2010-04-13 03:32:42 -07:00
error.h
netlink.h can: netlink support for bus-error reporting and counters 2010-02-26 01:48:49 -08:00
raw.h