From 85bda4c41d25c60638c05f32d46a8d9babbd1d57 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 28 Jan 2013 20:50:55 -0300 Subject: [PATCH] ubb-la/ubb-la.c (frequency): adapt use of mmcclk for API change --- ubb-la/ubb-la.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubb-la/ubb-la.c b/ubb-la/ubb-la.c index f94cb93..2bf259b 100644 --- a/ubb-la/ubb-la.c +++ b/ubb-la/ubb-la.c @@ -335,7 +335,7 @@ static void frequency(struct mmcclk *clk, int hz) { struct mmcclk mmc; - mmcclk_first(&mmc, 0); + mmcclk_first(&mmc, 0, MMCCLK_FLAG_RD_ONLY); *clk = mmc; while (mmcclk_next(&mmc)) if (fabs(clk->bus_clk_hz-hz) > fabs(mmc.bus_clk_hz-hz) ||