* Re: linux-next: Tree for Feb 13 (iio/magnetometer/ak8975.c) [not found] <20150213165615.1ad43047@canb.auug.org.au> @ 2015-02-14 0:32 ` Randy Dunlap 2015-02-14 0:34 ` Randy Dunlap 0 siblings, 1 reply; 2+ messages in thread From: Randy Dunlap @ 2015-02-14 0:32 UTC (permalink / raw) To: Stephen Rothwell, linux-next Cc: LKML, Jonathan Cameron, linux-iio, Laxman Dewangan On 02/12/15 21:56, Stephen Rothwell wrote: > Hi all, > > Please do not add any material destined for v3.21 to your linux-next > included trees until after v3.20-rc1 has been released. > > Changes since 20150212: on i386: when CONFIG_I2C is not enabled: ../drivers/iio/magnetometer/ak8975.c: In function 'ak8975_who_i_am': ../drivers/iio/magnetometer/ak8975.c:393:2: error: implicit declaration of function 'i2c_smbus_read_i2c_block_data' [-Werror=implicit-function-declaration] ret = i2c_smbus_read_i2c_block_data(client, AK09912_REG_WIA1, ^ ../drivers/iio/magnetometer/ak8975.c: In function 'ak8975_set_mode': ../drivers/iio/magnetometer/ak8975.c:431:2: error: implicit declaration of function 'i2c_smbus_write_byte_data' [-Werror=implicit-function-declaration] ret = i2c_smbus_write_byte_data(data->client, ^ ../drivers/iio/magnetometer/ak8975.c: In function 'wait_conversion_complete_gpio': ../drivers/iio/magnetometer/ak8975.c:555:2: error: implicit declaration of function 'i2c_smbus_read_byte_data' [-Werror=implicit-function-declaration] ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); ^ ../drivers/iio/magnetometer/ak8975.c: In function 'ak8975_read_axis': ../drivers/iio/magnetometer/ak8975.c:650:2: error: implicit declaration of function 'i2c_smbus_read_word_data' [-Werror=implicit-function-declaration] ret = i2c_smbus_read_word_data(client, data->def->data_regs[index]); ^ ../drivers/iio/magnetometer/ak8975.c: At top level: ../drivers/iio/magnetometer/ak8975.c:846:1: warning: data definition has no type or storage class [enabled by default] module_i2c_driver(ak8975_driver); ^ ../drivers/iio/magnetometer/ak8975.c:846:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] ../drivers/iio/magnetometer/ak8975.c:846:1: warning: parameter names (without types) in function declaration [enabled by default] ../drivers/iio/magnetometer/ak8975.c:837:26: warning: 'ak8975_driver' defined but not used [-Wunused-variable] static struct i2c_driver ak8975_driver = { ^ cc1: some warnings being treated as errors make[4]: *** [drivers/iio/magnetometer/ak8975.o] Error 1 -- ~Randy ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: Tree for Feb 13 (iio/magnetometer/ak8975.c) 2015-02-14 0:32 ` linux-next: Tree for Feb 13 (iio/magnetometer/ak8975.c) Randy Dunlap @ 2015-02-14 0:34 ` Randy Dunlap 0 siblings, 0 replies; 2+ messages in thread From: Randy Dunlap @ 2015-02-14 0:34 UTC (permalink / raw) To: Stephen Rothwell, linux-next Cc: LKML, Jonathan Cameron, linux-iio, Laxman Dewangan On 02/13/15 16:32, Randy Dunlap wrote: > On 02/12/15 21:56, Stephen Rothwell wrote: >> Hi all, >> >> Please do not add any material destined for v3.21 to your linux-next >> included trees until after v3.20-rc1 has been released. >> >> Changes since 20150212: > > on i386: when CONFIG_I2C is not enabled: Caused by AK09911 selecting AK8975 but AK09911 does not depend on I2C. > ../drivers/iio/magnetometer/ak8975.c: In function 'ak8975_who_i_am': > ../drivers/iio/magnetometer/ak8975.c:393:2: error: implicit declaration of function 'i2c_smbus_read_i2c_block_data' [-Werror=implicit-function-declaration] > ret = i2c_smbus_read_i2c_block_data(client, AK09912_REG_WIA1, > ^ > ../drivers/iio/magnetometer/ak8975.c: In function 'ak8975_set_mode': > ../drivers/iio/magnetometer/ak8975.c:431:2: error: implicit declaration of function 'i2c_smbus_write_byte_data' [-Werror=implicit-function-declaration] > ret = i2c_smbus_write_byte_data(data->client, > ^ > ../drivers/iio/magnetometer/ak8975.c: In function 'wait_conversion_complete_gpio': > ../drivers/iio/magnetometer/ak8975.c:555:2: error: implicit declaration of function 'i2c_smbus_read_byte_data' [-Werror=implicit-function-declaration] > ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); > ^ > ../drivers/iio/magnetometer/ak8975.c: In function 'ak8975_read_axis': > ../drivers/iio/magnetometer/ak8975.c:650:2: error: implicit declaration of function 'i2c_smbus_read_word_data' [-Werror=implicit-function-declaration] > ret = i2c_smbus_read_word_data(client, data->def->data_regs[index]); > ^ > ../drivers/iio/magnetometer/ak8975.c: At top level: > ../drivers/iio/magnetometer/ak8975.c:846:1: warning: data definition has no type or storage class [enabled by default] > module_i2c_driver(ak8975_driver); > ^ > ../drivers/iio/magnetometer/ak8975.c:846:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] > ../drivers/iio/magnetometer/ak8975.c:846:1: warning: parameter names (without types) in function declaration [enabled by default] > ../drivers/iio/magnetometer/ak8975.c:837:26: warning: 'ak8975_driver' defined but not used [-Wunused-variable] > static struct i2c_driver ak8975_driver = { > ^ > cc1: some warnings being treated as errors > make[4]: *** [drivers/iio/magnetometer/ak8975.o] Error 1 > > -- ~Randy ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-14 0:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150213165615.1ad43047@canb.auug.org.au>
2015-02-14 0:32 ` linux-next: Tree for Feb 13 (iio/magnetometer/ak8975.c) Randy Dunlap
2015-02-14 0:34 ` Randy Dunlap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox