]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
memory: omap-gpmc: Use 'unsigned int' for consistency
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 24 Jul 2020 18:23:18 +0000 (20:23 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 27 Jul 2020 09:13:33 +0000 (11:13 +0200)
Driver uses 'unsigned int' in other places instead of 'unsigned'.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/omap-gpmc.c

index b2cef2c9d97b51c56a3f8e35a9327886e47c4710..832647b822be021de4f846f1544da41af259d1ce 100644 (file)
@@ -246,7 +246,7 @@ static DEFINE_SPINLOCK(gpmc_mem_lock);
 static unsigned int gpmc_cs_num = GPMC_CS_NUM;
 static unsigned int gpmc_nr_waitpins;
 static resource_size_t phys_base, mem_size;
-static unsigned gpmc_capability;
+static unsigned int gpmc_capability;
 static void __iomem *gpmc_base;
 
 static struct clk *gpmc_l3_clk;
@@ -1243,7 +1243,7 @@ int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq,
 }
 EXPORT_SYMBOL_GPL(gpmc_omap_onenand_set_timings);
 
-int gpmc_get_client_irq(unsigned irq_config)
+int gpmc_get_client_irq(unsigned int irq_config)
 {
        if (!gpmc_irq_domain) {
                pr_warn("%s called before GPMC IRQ domain available\n",