ar71xx: 3.2: fix AHB clock name in rb4xx_spi
authorGabor Juhos <juhosg@openwrt.org>
Wed, 8 Feb 2012 20:47:56 +0000 (20:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 8 Feb 2012 20:47:56 +0000 (20:47 +0000)
SVN-Revision: 30390

target/linux/ar71xx/patches-3.2/306-spi-rb4xx-3.2-fixes.patch

index 973b3744251ebffed6636e095cefd74b20ae4f96..ba02e59b0d461e7b0bb17298e9f9e7d7aff7ecad 100644 (file)
  
        rbspi = spi_master_get_devdata(master);
 +
-+      rbspi->ahb_clk = clk_get(&pdev->dev, "AHB");
++      rbspi->ahb_clk = clk_get(&pdev->dev, "ahb");
 +      if (IS_ERR(rbspi->ahb_clk)) {
 +              err = PTR_ERR(rbspi->ahb_clk);
 +              goto err_put_master;