Re: [RESEND PATCH 3/3] iio: st_sensors: add devicetree probing support

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

 



On 07/07/14 14:54, Linus Walleij wrote:
On Mon, Jul 7, 2014 at 2:24 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

ERROR: "st_sensors_of_i2c_probe" [drivers/iio/pressure/st_pressure_i2c.ko]
undefined!
ERROR: "st_sensors_of_i2c_probe" [drivers/iio/magnetometer/st_magn_i2c.ko]
undefined!
ERROR: "st_sensors_of_i2c_probe" [drivers/iio/gyro/st_gyro_i2c.ko]
undefined!
ERROR: "st_sensors_of_i2c_probe" [drivers/iio/accel/st_accel_i2c.ko]
undefined!
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:1047: recipe for target 'modules' failed
make: *** [modules] Error 2

When CONFIG_OF not selected.

Um, when CONFIG_OF is *not* selected?

This looks more like it is selected, but the symbol is missing, since
I missed to export that symbol, right?
*coughs* Yup you are right of course.  The build in question did indeed
have CONFIG_OF selected.

In the !CONFIG_OF case there is a static inline in
<linux/iio/common/st_sensors_i2c.h> to handle that.

The v2 patch I just sent should fix this issue...
Cool.
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


--
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