Re: [PATCH 5/9 v2] iio: pressure: bmp280: split driver in logical parts

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

 



On Thu, Jun 23, 2016 at 10:18 AM, H. Nikolaus Schaller
<hns@xxxxxxxxxxxxx> wrote:
>> Am 22.06.2016 um 22:53 schrieb Linus Walleij <linus.walleij@xxxxxxxxxx>:

>> # When adding new entries keep the list in alphabetical order
>> obj-$(CONFIG_BMP280) += bmp280.o
>> +bmp280-objs := bmp280-core.o bmp280-regmap.o bmp280-i2c.o
>
> With menuconfig setting to 'M'
>
> CONFIG_BMP280=m
> CONFIG_BMP280_I2C=m
> CONFIG_BMP280_SPI=m
>
> I get
>
> ERROR: "bmp280_regmap_config" [drivers/iio/pressure/bmp280-spi.ko] undefined!
> ERROR: "bmp180_regmap_config" [drivers/iio/pressure/bmp280-spi.ko] undefined!
> ERROR: "bmp280_common_probe" [drivers/iio/pressure/bmp280-spi.ko] undefined!
> ERROR: "bmp280_regmap_config" [drivers/iio/pressure/bmp280-i2c.ko] undefined!
> ERROR: "bmp180_regmap_config" [drivers/iio/pressure/bmp280-i2c.ko] undefined!
> ERROR: "bmp280_common_probe" [drivers/iio/pressure/bmp280-i2c.ko] undefined!

Yeah module deps is one of my weak spots :(
The build robot found it too.

Fixing in v3. Thanks!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux