summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-05-14 12:43:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-14 19:47:13 +0200
commit7b5817e58d77d44d1e85fb25e384785d2682ed7d (patch)
tree3acbbba730f4837e44fea753947c63da90edc3ca /include
parent932f54688f83ab4a7532614042398dd46722dcd2 (diff)
downloadbarebox-7b5817e58d77d44d1e85fb25e384785d2682ed7d.tar.gz
barebox-7b5817e58d77d44d1e85fb25e384785d2682ed7d.tar.xz
drivers/spi/spi.c: use DEVICE_ID_DYNAMIC when allocating a struct device_d
This causes allocation of a free id and avoids conflicts if multiple identical SPI devices are attached. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions