[drm-intel:topic/drm-misc 15/26] drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: error: unknown field 'save' specified in initializer

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

 



tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   267dce842ac00f8120bd81cd82e30b4ce651fe2d
commit: 79f13ad5d8e07bab735e257639a68539b7974948 [15/26] drm: Move encoder->save/restore into nouveau
config: x86_64-rhel (attached as .config)
reproduce:
        git checkout 79f13ad5d8e07bab735e257639a68539b7974948
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: error: unknown field 'save' specified in initializer
     .save = tda998x_encoder_save,
     ^
   drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: warning: initialization from incompatible pointer type
   drivers/gpu/drm/i2c/tda998x_drv.c:1354:2: warning: (near initialization for 'tda998x_encoder_helper_funcs.mode_fixup')
>> drivers/gpu/drm/i2c/tda998x_drv.c:1355:2: error: unknown field 'restore' specified in initializer
     .restore = tda998x_encoder_restore,
     ^

vim +/save +1354 drivers/gpu/drm/i2c/tda998x_drv.c

c707c361 Russell King 2014-02-07  1348  {
9525c4dd Russell King 2015-08-14  1349  	tda998x_encoder_dpms(encoder, DRM_MODE_DPMS_ON);
c707c361 Russell King 2014-02-07  1350  }
c707c361 Russell King 2014-02-07  1351  
c707c361 Russell King 2014-02-07  1352  static const struct drm_encoder_helper_funcs tda998x_encoder_helper_funcs = {
9525c4dd Russell King 2015-08-14  1353  	.dpms = tda998x_encoder_dpms,
c707c361 Russell King 2014-02-07 @1354  	.save = tda998x_encoder_save,
c707c361 Russell King 2014-02-07 @1355  	.restore = tda998x_encoder_restore,
c707c361 Russell King 2014-02-07  1356  	.mode_fixup = tda998x_encoder_mode_fixup,
c707c361 Russell King 2014-02-07  1357  	.prepare = tda998x_encoder_prepare,
c707c361 Russell King 2014-02-07  1358  	.commit = tda998x_encoder_commit,

:::::: The code at line 1354 was first introduced by commit
:::::: c707c3619ca81f499a5ce032021405e989a96ff0 drm/i2c: tda998x: add component support

:::::: TO: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
:::::: CC: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux