]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/clk/ti/mux.c
Merge remote-tracking branches 'regmap/topic/doc' and 'regmap/topic/flat' into regmap...
[mirror_ubuntu-bionic-kernel.git] / drivers / clk / ti / mux.c
index 618ded96ace36ba47a32e2b00bf9be053431fb0b..44777ab6fdeb3b6f8d0fcd5386790c506f39d300 100644 (file)
@@ -178,7 +178,7 @@ static void of_mux_clk_setup(struct device_node *node)
 {
        struct clk *clk;
        void __iomem *reg;
-       int num_parents;
+       unsigned int num_parents;
        const char **parent_names;
        u8 clk_mux_flags = 0;
        u32 mask = 0;
@@ -261,7 +261,7 @@ struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup)
 static void __init of_ti_composite_mux_clk_setup(struct device_node *node)
 {
        struct clk_mux *mux;
-       int num_parents;
+       unsigned int num_parents;
        u32 val;
 
        mux = kzalloc(sizeof(*mux), GFP_KERNEL);