[PATCH 1/3] regulator: Increase the limit on sysfs file names

From: Mark Brown
Date: Thu Jun 09 2011 - 11:22:59 EST


With verbose filenames we can easily hit 32 characters.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
drivers/regulator/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 53e46ee..d2d5001 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1035,7 +1035,7 @@ static void unset_regulator_supplies(struct regulator_dev *rdev)
}
}

-#define REG_STR_SIZE 32
+#define REG_STR_SIZE 64

static struct regulator *create_regulator(struct regulator_dev *rdev,
struct device *dev,
--
1.7.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/