Re: [PATCH 2/2] staging: greybus: enable compile testing of arche driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/15/17 07:26, Johan Hovold wrote:
> Add Arche platform-driver config option and allow the driver to be
> compile tested also without the usb3613 driver.
> 
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
>  drivers/staging/greybus/Kconfig          | 10 ++++++++++
>  drivers/staging/greybus/Makefile         |  2 +-
>  drivers/staging/greybus/arche-platform.c |  7 +++++++
>  3 files changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/greybus/Kconfig b/drivers/staging/greybus/Kconfig
> index 50de2d72dde0..cc59cf93ab9e 100644
> --- a/drivers/staging/greybus/Kconfig
> +++ b/drivers/staging/greybus/Kconfig
> @@ -216,4 +216,14 @@ config GREYBUS_USB
>  	  will be called gb-usb.ko
>  
>  endif	# GREYBUS_BRIDGED_PHY
> +
> +config GREYBUS_ARCHE
> +	tristate "Greybus Arche Platform driver"
> +	depends on CONFIG_USB_CONFIG_USB_HSIC_USB3613 || COMPILE_TEST

	depends on USB_HSIC_3613 || COMPILE_TEST
??

> +	---help---
> +	  Select this option if you have an Arche device.
> +
> +	  To compile this code as a module, chose M here: the module
> +	  will be called gb-arche.ko
> +
>  endif	# GREYBUS


-- 
~Randy
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux