diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2010-07-22 11:32:38 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2010-07-22 11:32:38 +0000 |
commit | 4a829973275bc47a85e499b9f6f4872bacadb502 (patch) | |
tree | 2ff6d77a9b672ad60a966a9717b14eda540fc95c /target/linux/at91/image/u-boot/patches/200-clock.patch | |
parent | f00599aad75ec2b4ac3380fbcf5f669a4a34e024 (diff) | |
download | upstream-4a829973275bc47a85e499b9f6f4872bacadb502.tar.gz upstream-4a829973275bc47a85e499b9f6f4872bacadb502.tar.bz2 upstream-4a829973275bc47a85e499b9f6f4872bacadb502.zip |
Add support for u-boot
SVN-Revision: 22351
Diffstat (limited to 'target/linux/at91/image/u-boot/patches/200-clock.patch')
-rw-r--r-- | target/linux/at91/image/u-boot/patches/200-clock.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/at91/image/u-boot/patches/200-clock.patch b/target/linux/at91/image/u-boot/patches/200-clock.patch new file mode 100644 index 0000000000..fbfb6415e6 --- /dev/null +++ b/target/linux/at91/image/u-boot/patches/200-clock.patch @@ -0,0 +1,24 @@ +The function get_mci_clk_rate is used inside atmel_mci driver +but never defined. Fix this typo. + +Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> +--- + drivers/mmc/atmel_mci.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/mmc/atmel_mci.c b/drivers/mmc/atmel_mci.c +index 3946ffe..628aac9 100644 +--- a/drivers/mmc/atmel_mci.c ++++ b/drivers/mmc/atmel_mci.c +@@ -67,7 +67,7 @@ static void mci_set_mode(unsigned long hz, unsigned long blklen) + unsigned long bus_hz; + unsigned long clkdiv; + +- bus_hz = get_mci_clk_rate(); ++ bus_hz = get_mck_clk_rate(); + clkdiv = (bus_hz / hz) / 2 - 1; + + pr_debug("mmc: setting clock %lu Hz, block size %lu\n", +-- +1.7.0.4 + |