sunxi: move a lost CONFIG_CHARGER symbol to generic
[openwrt.git] / target / linux / sunxi / patches-3.13 / 154-mmc-update-compat-nodes.patch
1 --- a/drivers/mmc/host/sunxi-mci.c
2 +++ b/drivers/mmc/host/sunxi-mci.c
3 @@ -715,8 +715,8 @@ static void sunxi_mmc_request(struct mmc
4  }
5  
6  static const struct of_device_id sunxi_mmc_of_match[] = {
7 -       { .compatible = "allwinner,sun4i-mmc", },
8 -       { .compatible = "allwinner,sun5i-mmc", },
9 +       { .compatible = "allwinner,sun4i-a10-mmc", },
10 +       { .compatible = "allwinner,sun5i-a13-mmc", },
11         { /* sentinel */ }
12  };
13  MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
14 @@ -736,7 +736,7 @@ static int sunxi_mmc_resource_request(st
15         struct device_node *np = pdev->dev.of_node;
16         int ret;
17  
18 -       if (of_device_is_compatible(np, "allwinner,sun4i-mmc"))
19 +       if (of_device_is_compatible(np, "allwinner,sun4i-a10-mmc"))
20                 host->idma_des_size_bits = 13;
21         else
22                 host->idma_des_size_bits = 16;