Messages in this thread | | | From | NeilBrown <> | Date | Tue, 20 Dec 2011 16:44:41 +1100 | Subject | [PATCH 0/2] Two fixes for leds-tca6507 - Version 2 |
| |
The driver didn't compile on arches which did not define GPIOLIB. Fix this by excluding gpio support on those archs. [Fix for the 'remove' function too] 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 | 100 +++++++++++++++++++++++++++++------------- include/linux/leds-tca6507.h | 3 + 2 files changed, 71 insertions(+), 32 deletions(-)
-- Signature
| |