lkml.org 
[lkml]   [2018]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: Tree for Jun 5 (drivers/staging/typec/tcpci_rt1711h)
From
Date
On 06/05/2018 04:47 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20180604:
>

on x86_64 (randconfig):

WARNING: unmet direct dependencies detected for TYPEC_TCPCI
Depends on [n]: STAGING [=y] && TYPEC_TCPM [=y] && I2C [=n]
Selected by [y]:
- TYPEC_RT1711H [=y] && STAGING [=y] && TYPEC_TCPM [=y]

../drivers/staging/typec/tcpci.c:593:1: warning: data definition has no type or storage class [enabled by default]
module_i2c_driver(tcpci_i2c_driver);
^
../drivers/staging/typec/tcpci.c:593:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
../drivers/staging/typec/tcpci.c:593:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/staging/typec/tcpci.c:584:26: warning: 'tcpci_i2c_driver' defined but not used [-Wunused-variable]
static struct i2c_driver tcpci_i2c_driver = {
^
cc1: some warnings being treated as errors
../drivers/staging/typec/tcpci_rt1711h.c: In function 'rt1711h_check_revision':
../drivers/staging/typec/tcpci_rt1711h.c:218:2: error: implicit declaration of function 'i2c_smbus_read_word_data' [-Werror=implicit-function-declaration]
ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID);
^
../drivers/staging/typec/tcpci_rt1711h.c: At top level:
../drivers/staging/typec/tcpci_rt1711h.c:308:1: warning: data definition has no type or storage class [enabled by default]
module_i2c_driver(rt1711h_i2c_driver);
^
../drivers/staging/typec/tcpci_rt1711h.c:308:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
../drivers/staging/typec/tcpci_rt1711h.c:308:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/staging/typec/tcpci_rt1711h.c:299:26: warning: 'rt1711h_i2c_driver' defined but not used [-Wunused-variable]
static struct i2c_driver rt1711h_i2c_driver = {
^
CC drivers/staging/speakup/speakup_keypc.o
cc1: some warnings being treated as errors


# CONFIG_I2C is not set

--
~Randy

\
 
 \ /
  Last update: 2018-06-05 17:46    [W:0.024 / U:19.880 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site