Messages in this thread Patch in this message | | | From | Mark Brown <> | Subject | [PATCH 1/3] regulator: Increase the limit on sysfs file names | Date | Thu, 9 Jun 2011 16:22:20 +0100 |
| |
With verbose filenames we can easily hit 32 characters.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- 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
| |