Messages in this thread | | | From | NeilBrown <> | Date | Mon, 19 Dec 2011 11:20:22 +1100 | Subject | [PATCH 0/2] Two fixes for leds-tca6507 |
| |
The driver didn't compile on arches which did not define GPIOLIB. This this by excluding gpio support on those archs. Reported by: Randy Dunlap <rdunlap@xenotime.net> and Stephen Rothwell <sfr@canb.auug.org.au>
off-by-one error in choose_times Reported by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks, NeilBrown
---
NeilBrown (2): leds-tca6507 - fix off by one error. leds-tca6507: allow driver to compile when GPIOLIB is not available.
drivers/leds/leds-tca6507.c | 83 +++++++++++++++++++++++++++++------------- include/linux/leds-tca6507.h | 3 +- 2 files changed, 59 insertions(+), 27 deletions(-)
-- Signature
| |