lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 27 Jul 2010 11:49:02 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Alan Cox <alan@...ux.intel.com>
CC:	linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
	greg@...ah.com
Subject: Re: [RESEND PATCH] max3107: Fix gpiolib support

Alan Cox wrote:
> Because of the way gpiolib works we actually need to ifdef this in our
> header file
> 
> Signed-off-by: Alan Cox <alan@...ux.intel.com>

Acked-by: Randy Dunlap <randy.dunlap@...cle.com>

Thanks.

> ---
> 
>  drivers/serial/max3107.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/drivers/serial/max3107.h b/drivers/serial/max3107.h
> index 72b3041..7ab6323 100644
> --- a/drivers/serial/max3107.h
> +++ b/drivers/serial/max3107.h
> @@ -368,8 +368,10 @@ struct max3107_port {
>  	/* SPI device structure */
>  	struct spi_device *spi;
>  
> +#if defined(CONFIG_GPIOLIB)
>  	/* GPIO chip stucture */
>  	struct gpio_chip chip;
> +#endif
>  
>  	/* Workqueue that does all the magic */
>  	struct workqueue_struct *workqueue;
> 
> --

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ