[input:next 1370/1370] drivers/input/misc/rotary_encoder.c:439:34: error: 'rotary_encoder_of_match' undeclared here (not in a function)

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
head:   8a1b30efbef4b339c3f4987c4937acc99aebf106
commit: 8a1b30efbef4b339c3f4987c4937acc99aebf106 [1370/1370] Input: rotary-encoder - add support for quarter-period mode
config: x86_64-randconfig-i0-201541 (attached as .config)
reproduce:
        git checkout 8a1b30efbef4b339c3f4987c4937acc99aebf106
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from include/asm-generic/gpio.h:7:0,
                    from include/linux/gpio.h:51,
                    from drivers/input/misc/rotary_encoder.c:23:
>> drivers/input/misc/rotary_encoder.c:439:34: error: 'rotary_encoder_of_match' undeclared here (not in a function)
      .of_match_table = of_match_ptr(rotary_encoder_of_match),
                                     ^
   include/linux/of.h:357:29: note: in definition of macro 'of_match_ptr'
    #define of_match_ptr(_ptr) (_ptr)
                                ^

vim +/rotary_encoder_of_match +439 drivers/input/misc/rotary_encoder.c

73969ff0 Daniel Mack    2009-03-04  433  static struct platform_driver rotary_encoder_driver = {
73969ff0 Daniel Mack    2009-03-04  434  	.probe		= rotary_encoder_probe,
1cb0aa88 Bill Pemberton 2012-11-23  435  	.remove		= rotary_encoder_remove,
73969ff0 Daniel Mack    2009-03-04  436  	.driver		= {
73969ff0 Daniel Mack    2009-03-04  437  		.name	= DRV_NAME,
47ec6e5a Sylvain Rochet 2015-10-13  438  		.pm	= &rotary_encoder_pm_ops,
80c99bcd Daniel Mack    2012-07-31 @439  		.of_match_table = of_match_ptr(rotary_encoder_of_match),
73969ff0 Daniel Mack    2009-03-04  440  	}
73969ff0 Daniel Mack    2009-03-04  441  };
840a746b JJ Ding        2011-11-29  442  module_platform_driver(rotary_encoder_driver);

:::::: The code at line 439 was first introduced by commit
:::::: 80c99bcd28617bd534b6f9489857235ee613c797 Input: rotary-encoder - add DT bindings

:::::: TO: Daniel Mack <zonque@xxxxxxxxx>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux