ar71xx: fix WNDR3x00 model detection
[openwrt.git] / target / linux / at91 / image / u-boot / patches / 200-clock.patch
1 The function get_mci_clk_rate is used inside atmel_mci driver
2 but never defined. Fix this typo.
3
4 Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
5 ---
6 drivers/mmc/atmel_mci.c | 2 +-
7 1 files changed, 1 insertions(+), 1 deletions(-)
8
9 diff --git a/drivers/mmc/atmel_mci.c b/drivers/mmc/atmel_mci.c
10 index 3946ffe..628aac9 100644
11 --- a/drivers/mmc/atmel_mci.c
12 +++ b/drivers/mmc/atmel_mci.c
13 @@ -67,7 +67,7 @@ static void mci_set_mode(unsigned long hz, unsigned long blklen)
14 unsigned long bus_hz;
15 unsigned long clkdiv;
16
17 - bus_hz = get_mci_clk_rate();
18 + bus_hz = get_mck_clk_rate();
19 clkdiv = (bus_hz / hz) / 2 - 1;
20
21 pr_debug("mmc: setting clock %lu Hz, block size %lu\n",
22 --
23 1.7.0.4
24
This page took 0.049558 seconds and 5 git commands to generate.