diff options
author | David Brownell <david-b@pacbell.net> | 2006-04-03 15:49:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-05-16 14:33:57 -0700 |
commit | a020ed7521a9737bcf3e34eb880867c60c3c68d0 (patch) | |
tree | 52941e00b05df6c1bfe228fd193fdb09cf963d15 /drivers/spi/pxa2xx_spi.c | |
parent | ccf77cc4af5b048e20cfd9327fcc286cb69c34cc (diff) |
[PATCH] SPI: busnum == 0 needs to work
We need to be able to have a "SPI bus 0" matching chip numbering; but
that number was wrongly used to flag dynamic allocation of a bus number.
This patch resolves that issue; now negative numbers trigger dynamic alloc.
It also updates the how-to-write-a-controller-driver overview to mention
this stuff.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/spi/pxa2xx_spi.c')
0 files changed, 0 insertions, 0 deletions