diff options
| author | Simon Glass <[email protected]> | 2021-03-15 17:25:24 +1300 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-03-26 17:03:08 +1300 |
| commit | 8813986dfde89ae2eab2a2315e1d23e4784c3d88 (patch) | |
| tree | 5190de0581e5accc73701318124a1fe23e218853 /test | |
| parent | 4ddc91b32f9fc2292686dffe0159e2679362f78b (diff) | |
clk: sandbox: Create a special fixed-rate driver
Create a version of this driver for sandbox so that it can use the
of-platdata struct.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/dm/of_platdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/of_platdata.c b/test/dm/of_platdata.c index e9804cc27fa..93ad5727255 100644 --- a/test/dm/of_platdata.c +++ b/test/dm/of_platdata.c @@ -185,7 +185,7 @@ static int dm_test_of_plat_phandle(struct unit_test_state *uts) plat = dev_get_plat(dev); ut_assertok(device_get_by_driver_info_idx(plat->clocks[0].idx, &clk)); - ut_asserteq_str("fixed_clock", clk->name); + ut_asserteq_str("sandbox_fixed_clock", clk->name); ut_assertok(device_get_by_driver_info_idx(plat->clocks[1].idx, &clk)); ut_asserteq_str("sandbox_clk", clk->name); |
