raw/skeleton: remove compile-time constant for device id
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 2 Jul 2019 09:56:07 +0000 (10:56 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 2 Jul 2019 15:04:10 +0000 (17:04 +0200)
commit88a81bcecb7b94ec3b0b1760bf7ab034df61cf8d
treeed236d8d7081a49d4c7c68eda6867316391437a3
parent14e1310ec78e0a1c3e46a9745ecb1b428ae0b567
raw/skeleton: remove compile-time constant for device id

Use a variable value rather than compile-time constant zero as the
device id for the skeleton rawdev tests. This ensures we can make the
tests work even if other rawdevs are present.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c