Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1236302
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH] nvmem: rockchip_efuse_regmap_config can be static |
| Date | 2015-09-30 15:50 +0200 |
| Message-ID | <qepVE-6Bs-13@gated-at.bofh.it> (permalink) |
| References | <qepVE-6Bs-5@gated-at.bofh.it> <qep9g-5rz-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
rockchip-efuse.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/nvmem/rockchip-efuse.c b/drivers/nvmem/rockchip-efuse.c
index 7887070..f552134 100644
--- a/drivers/nvmem/rockchip-efuse.c
+++ b/drivers/nvmem/rockchip-efuse.c
@@ -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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 8/8] nvmem: Adding bindings for rockchip-efuse Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-09-30 15:00 +0200
Re: [PATCH 8/8] nvmem: Adding bindings for rockchip-efuse kbuild test robot <lkp@intel.com> - 2015-09-30 15:50 +0200
[RFC PATCH] nvmem: rockchip_efuse_regmap_config can be static kbuild test robot <lkp@intel.com> - 2015-09-30 15:50 +0200
Re: [RFC PATCH] nvmem: rockchip_efuse_regmap_config can be static Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-09-30 16:00 +0200
csiph-web