Message ID | CAMPhdO8uuNmdiaejcypOH77rsU2ZR+dov73KXyAsbAfW0tKmcA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Nov 21, 2012 at 05:22:02PM +0800, Eric Miao wrote: > +static inline int regulator_count_voltages(struct regulator *regulator) > +{ > + return 0; > +} Looks like your mailer has mangled everything so this won't apply.
git-send-email stopped working so I have to use the web interface. Could you help try the attached one? On Wed, Nov 21, 2012 at 5:43 PM, Mark Brown <broonie@opensource.wolfsonmicro.com> wrote: > On Wed, Nov 21, 2012 at 05:22:02PM +0800, Eric Miao wrote: > >> +static inline int regulator_count_voltages(struct regulator *regulator) >> +{ >> + return 0; >> +} > > Looks like your mailer has mangled everything so this won't apply.
On Wed, Nov 21, 2012 at 05:45:57PM +0800, Eric Miao wrote: > git-send-email stopped working so I have to use the web interface. > Could you help > try the attached one? OK. I take it's OK to add your signoff as well (you should always add this for patches you forward)?
On Wed, Nov 21, 2012 at 6:05 PM, Mark Brown <broonie@opensource.wolfsonmicro.com> wrote: > On Wed, Nov 21, 2012 at 05:45:57PM +0800, Eric Miao wrote: >> git-send-email stopped working so I have to use the web interface. >> Could you help >> try the attached one? > > OK. I take it's OK to add your signoff as well (you should always add > this for patches you forward)? Yep, that's fine. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Nov 21, 2012 at 06:06:12PM +0800, Eric Miao wrote:
> Yep, that's fine.
Applied, thanks.
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index c43cd35..4e3ec91 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -358,6 +358,10 @@ static inline void regulator_set_drvdata(struct regulator *regulator, { } +static inline int regulator_count_voltages(struct regulator *regulator) +{ + return 0; +} #endif