summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/virtual.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-19 13:37:06 +0000
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-03-31 09:56:22 +0100
commitfefdae42465facfa26d41a7f0010f1ade32c3386 (patch)
treea4ba2de1d4213b041fdb93ca1cb018a1ed6c1d08 /drivers/regulator/virtual.c
parenta9cb63b2a1768f40999e09939fd015cd203aa053 (diff)
downloadop-kernel-dev-fefdae42465facfa26d41a7f0010f1ade32c3386.zip
op-kernel-dev-fefdae42465facfa26d41a7f0010f1ade32c3386.tar.gz
regulator: Mark attributes table for virtual regulator static
It's not exported. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/virtual.c')
-rw-r--r--drivers/regulator/virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/virtual.c b/drivers/regulator/virtual.c
index 45ebbc2..3d08348 100644
--- a/drivers/regulator/virtual.c
+++ b/drivers/regulator/virtual.c
@@ -260,7 +260,7 @@ static DEVICE_ATTR(min_microamps, 0666, show_min_uA, set_min_uA);
static DEVICE_ATTR(max_microamps, 0666, show_max_uA, set_max_uA);
static DEVICE_ATTR(mode, 0666, show_mode, set_mode);
-struct device_attribute *attributes[] = {
+static struct device_attribute *attributes[] = {
&dev_attr_min_microvolts,
&dev_attr_max_microvolts,
&dev_attr_min_microamps,
OpenPOWER on IntegriCloud