Re: [PATCH v3 1/2] sc16is7xx: spi interface is added

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

 



On Tue, 19 May 2015 16:52:01 +0530, ram kiran wrote:
> Would this be okay.
> 
> config SERIAL_SC16IS7XX_CORE
>     bool
>     depends on SERIAL_SC16IS7XX_I2C || SERIAL_SC16IS7XX_SPI
> 
> config SERIAL_SC16IS7XX
>      tristate "SC16IS7xx serial support"
>      select SERIAL_CORE
>     depends on I2C || SPI_MASTER
>      select REGMAP_I2C if I2C
>     select REGMAP_SPI if SPI_MASTER

Move the regmap selects to bus specific options.  Other than that looks
fine.  I didn't test it though.
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux