• Stephen Rothwell's avatar
    linux-next: build failure after merge of the drm-misc tree · ed08ddd9
    Stephen Rothwell authored
    Hi all,
    
    After merging the drm-misc tree, today's linux-next build (x86_64
    allmodconfig) failed like this:
    
    drivers/gpu/drm/bridge/analogix/analogix-anx6345.c: In function 'anx6345_i2c_probe':
    drivers/gpu/drm/bridge/analogix/analogix-anx6345.c:738:30: error: implicit declaration of function 'i2c_new_dummy' [-Werror=implicit-function-declaration]
      738 |    anx6345->i2c_clients[i] = i2c_new_dummy(client->adapter,
          |                              ^~~~~~~~~~~~~
    drivers/gpu/drm/bridge/analogix/analogix-anx6345.c:738:28: warning: assignment to 'struct i2c_client *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      738 |    anx6345->i2c_clients[i] = i2c_new_dummy(client->adapter,
          |                            ^
    
    Caused by commit
    
      6aa19269 ("drm/bridge: Add Analogix anx6345 support")
    
    interacting with commit
    
      2c2f00ab ("i2c: remove i2c_new_dummy() API")
    
    From Linus' tree.
    
    I have applied the following fix up patch for today:
    
    From: Stephen Rothwell <sfr@canb.auug.org.au>
    Date: Mon, 16 Dec 2019 12:11:19 +1100
    Subject: [PATCH] drm/bridge: fix up for removal of i2c_new_dummy()
    Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.freedesktop.org/patch/msgid/20191216122331.43c766f1@canb.auug.org.au
    ed08ddd9
analogix-anx6345.c 19.4 KB