nvmem: rockchip_efuse_regmap_config can be static
authorkbuild test robot <lkp@intel.com>
Wed, 30 Sep 2015 13:46:06 +0000 (21:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:08:14 +0000 (12:08 +0100)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/rockchip-efuse.c

index 7887070da02dc47d0ee5ae51e01c7f6a7bf18858..f552134242223959301a419a78fc08b0c65ec207 100644 (file)
@@ -101,7 +101,7 @@ static struct regmap_bus rockchip_efuse_bus = {
        .val_format_endian_default = REGMAP_ENDIAN_NATIVE,
 };
 
-struct regmap_config rockchip_efuse_regmap_config = {
+static struct regmap_config rockchip_efuse_regmap_config = {
        .reg_bits = 32,
        .reg_stride = 1,
        .val_bits = 8,
@@ -119,7 +119,7 @@ static const struct of_device_id rockchip_efuse_match[] = {
 };
 MODULE_DEVICE_TABLE(of, rockchip_efuse_match);
 
-int rockchip_efuse_probe(struct platform_device *pdev)
+static int rockchip_efuse_probe(struct platform_device *pdev)
 {
        struct device *dev = &pdev->dev;
        struct resource *res;
@@ -165,7 +165,7 @@ int rockchip_efuse_probe(struct platform_device *pdev)
        return 0;
 }
 
-int rockchip_efuse_remove(struct platform_device *pdev)
+static int rockchip_efuse_remove(struct platform_device *pdev)
 {
        struct nvmem_device *nvmem = platform_get_drvdata(pdev);