Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-30 Thread Jonathan Cameron
On 26/01/16 08:17, Richard Weinberger wrote: > Am 26.01.2016 um 01:15 schrieb Paul Bolle: >> On ma, 2016-01-25 at 23:24 +0100, Richard Weinberger wrote: >>> --- a/drivers/iio/imu/inv_mpu6050/Kconfig >>> +++ b/drivers/iio/imu/inv_mpu6050/Kconfig >> >>> config INV_MPU6050_IIO >>> tristate

Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-30 Thread Jonathan Cameron
On 26/01/16 08:17, Richard Weinberger wrote: > Am 26.01.2016 um 01:15 schrieb Paul Bolle: >> On ma, 2016-01-25 at 23:24 +0100, Richard Weinberger wrote: >>> --- a/drivers/iio/imu/inv_mpu6050/Kconfig >>> +++ b/drivers/iio/imu/inv_mpu6050/Kconfig >> >>> config INV_MPU6050_IIO >>> tristate

Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Richard Weinberger
Am 26.01.2016 um 01:15 schrieb Paul Bolle: > On ma, 2016-01-25 at 23:24 +0100, Richard Weinberger wrote: >> --- a/drivers/iio/imu/inv_mpu6050/Kconfig >> +++ b/drivers/iio/imu/inv_mpu6050/Kconfig > >> config INV_MPU6050_IIO >> tristate "Invensense MPU6050 devices" >> depends on I2C &&

Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Richard Weinberger
Am 26.01.2016 um 01:15 schrieb Paul Bolle: > On ma, 2016-01-25 at 23:24 +0100, Richard Weinberger wrote: >> --- a/drivers/iio/imu/inv_mpu6050/Kconfig >> +++ b/drivers/iio/imu/inv_mpu6050/Kconfig > >> config INV_MPU6050_IIO >> tristate "Invensense MPU6050 devices" >> depends on I2C &&

Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Paul Bolle
On ma, 2016-01-25 at 23:24 +0100, Richard Weinberger wrote: > --- a/drivers/iio/imu/inv_mpu6050/Kconfig > +++ b/drivers/iio/imu/inv_mpu6050/Kconfig > config INV_MPU6050_IIO > tristate "Invensense MPU6050 devices" > depends on I2C && SYSFS > + depends on I2C_MUX Nit: if I parsed

[PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. While the driver has correct dependencies the select statement will bypass the HAS_IOMEM dependency. So, unbreak the build by rendering it into a real dependency. Signed-off-by: Richard Weinberger --- drivers/iio/imu/inv_mpu6050/Kconfig | 2 +- 1 file changed, 1

[PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. While the driver has correct dependencies the select statement will bypass the HAS_IOMEM dependency. So, unbreak the build by rendering it into a real dependency. Signed-off-by: Richard Weinberger --- drivers/iio/imu/inv_mpu6050/Kconfig | 2 +- 1

Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Paul Bolle
On ma, 2016-01-25 at 23:24 +0100, Richard Weinberger wrote: > --- a/drivers/iio/imu/inv_mpu6050/Kconfig > +++ b/drivers/iio/imu/inv_mpu6050/Kconfig > config INV_MPU6050_IIO > tristate "Invensense MPU6050 devices" > depends on I2C && SYSFS > + depends on I2C_MUX Nit: if I parsed