summaryrefslogtreecommitdiff
path: root/arch/um/sys-ppc
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-01-08 21:34:23 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-14 00:29:54 (GMT)
commitb885244eb2628e0b8206e7edaaa6a314da78e9a4 (patch)
treee548fb3a94603c4a5406920c97246a78fe16b64a /arch/um/sys-ppc
parent1d6432fe10c3e724e307dd7137cd293a0edcae80 (diff)
downloadlinux-fsl-qoriq-b885244eb2628e0b8206e7edaaa6a314da78e9a4.tar.xz
[PATCH] spi: add spi_driver to SPI framework
This is a refresh of the "Simple SPI Framework" found in 2.6.15-rc3-mm1 which makes the following changes: * There's now a "struct spi_driver". This increase the footprint of the core a bit, since it now includes code to do what the driver core was previously handling directly. Documentation and comments were updated to match. * spi_alloc_master() now does class_device_initialize(), so it can at least be refcounted before spi_register_master(). To match, spi_register_master() switched over to class_device_add(). * States explicitly that after transfer errors, spi_devices will be deselected. We want fault recovery procedures to work the same for all controller drivers. * Minor tweaks: controller_data no longer points to readonly data; prevent some potential cast-from-null bugs with container_of calls; clarifies some existing kerneldoc, And a few small cleanups. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/um/sys-ppc')
0 files changed, 0 insertions, 0 deletions