staging: nvec: specify a platform-device base id
authorMarc Dietrich <marvin24@gmx.de>
Tue, 20 Jan 2015 22:01:28 +0000 (23:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:04:31 +0000 (19:04 +0800)
commit2b7ded0fb63ef7ce63d25aef4114a0ad629a9e60
treed47c515f79c255e8adb30b7d83ecf007c0af7a72
parentec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc
staging: nvec: specify a platform-device base id

commit 6e3f62f079 (mfd: core: Fix platform-device id generation) modified
the computation of the mfd cell id. Negative numbers forbit the specification
of cell ids as we do. Fix this for now by specifying a base of 0 instead. In
the long run, this may be changed to automatic cell ids (base -2).

Fixes: 6e3f62f079
Reported-by: Misha Komarovskiy <zombah@gmail.com>
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c
This page took 0.026738 seconds and 5 git commands to generate.