[PATCH 0/2] Two fixes for leds-tca6507

From: NeilBrown
Date: Sun Dec 18 2011 - 19:23:18 EST


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@xxxxxxxxxxxx> and
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

off-by-one error in choose_times
Reported by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

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

--
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/