diff options
Diffstat (limited to 'drivers/gpio/intel_ich6_gpio.c')
| -rw-r--r-- | drivers/gpio/intel_ich6_gpio.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/drivers/gpio/intel_ich6_gpio.c b/drivers/gpio/intel_ich6_gpio.c index 63a07b9592a..2ed0d0bea9a 100644 --- a/drivers/gpio/intel_ich6_gpio.c +++ b/drivers/gpio/intel_ich6_gpio.c @@ -26,6 +26,8 @@   * reserved or subject to arcane restrictions.   */ +#define LOG_CATEGORY	UCLASS_GPIO +  #include <common.h>  #include <dm.h>  #include <errno.h> @@ -155,8 +157,7 @@ static int ich6_gpio_request(struct udevice *dev, unsigned offset,  	 */  	tmplong = inl(bank->use_sel);  	if (!(tmplong & (1UL << offset))) { -		debug("%s: gpio %d is reserved for internal use\n", __func__, -		      offset); +		log_debug("gpio %d is reserved for internal use\n", offset);  		return -EPERM;  	} | 
