Add hotplug support to mcp251x driver
authorMarc Zyngier <maz@misterjones.org>
Mon, 29 Mar 2010 08:57:56 +0000 (08:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2010 06:51:09 +0000 (23:51 -0700)
commite446630c960946b5c1762e4eadb618becef599e7
tree7dc73fc57fd1d38f309b208b6dadfddf248cb05f
parent598ed9367a36ee1fd4ae3271a54a3547a33975a5
Add hotplug support to mcp251x driver

Chip model can now be selected directly by matching the modalias name
(instead of filling the .model field in platform_data), and allows the
module to be auto-loaded. Previous behaviour is of course still supported.

Convert the two in-tree users to this feature (icontrol & zeus).
Tested on an Zeus platform (mcp2515).

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Acked-by: Christian Pellegrin <chripell@fsfe.org>
Cc: Edwin Peer <epeer@tmtservices.co.za>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/mach-pxa/icontrol.c
arch/arm/mach-pxa/zeus.c
drivers/net/can/mcp251x.c
include/linux/can/platform/mcp251x.h