Re: [PATCH v2 1/2] i2c: Enable compile testing for some of drivers

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

 



>  config I2C_ZX2967
>  	tristate "ZTE ZX2967 I2C support"
> -	depends on ARCH_ZX
> -	default y
> +	depends on ARCH_ZX || (COMPILE_TEST && (ARC || ARM || ARM64 || M68K || RISCV || SUPERH || SPARC))
> +	# COMPILE_TEST needs architectures with readsX()/writesX() primitives

The list of archs neither looks pretty nor very maintainable. My
suggestion is that we leave this out of COMPILE_TEST until we have
something like ARCH_HAS_READS or something. What do you think?

> +	default y if ARCH_ZX


Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux