OpenCloudOS-Kernel/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 [CAN]: Add raw protocol 2008-01-28 14:54:10 -08:00