lkml.org 
[lkml]   [2018]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 06/22] soc: sunxi: sram: Add dt match for the A10 system-control compatible
    Date
    This binds the new A10 system-control compatible to the associated
    driver, with the same driver data as the previous compatible.

    Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
    ---
    drivers/soc/sunxi/sunxi_sram.c | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
    index 7fec1b160dbb..236f34307c0f 100644
    --- a/drivers/soc/sunxi/sunxi_sram.c
    +++ b/drivers/soc/sunxi/sunxi_sram.c
    @@ -355,6 +355,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
    .compatible = "allwinner,sun4i-a10-sram-controller",
    .data = &sun4i_a10_sramc_variant,
    },
    + {
    + .compatible = "allwinner,sun4i-a10-system-control",
    + .data = &sun4i_a10_sramc_variant,
    + },
    {
    .compatible = "allwinner,sun50i-a64-sram-controller",
    .data = &sun50i_a64_sramc_variant,
    --
    2.17.1
    \
     
     \ /
      Last update: 2018-07-10 10:10    [W:4.174 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site