drivers/mmc/host/atmel-mci.c:2593: error: 'atmci_dev_pm_ops' undeclared here (not in a function)
A message that is not in the archive (sent off-list or not yet received): 201411052016.dObHXcry%[email protected]
Quoted 4 lines · kbuild test robot
tree: https://git.linaro.org/people/ulf.hansson/mmc next head: c78dfc314bb79d5a364b6764f07e1e7fd6229391 commit: 0ad8e93fc8ad5c815dc3b5a298ce05e2df6da0b8 [72/74] mmc: atmel-mci: add runtime pm support config: avr32-atngw100_mrmt_defconfig (attached as .config)
Quoted 9 lines
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout0ad8e93fc8ad5c815dc3b5a298ce05e2df6da0b8# save the attached .config to linux build tree make.cross ARCH=avr32All error/warnings:
Hi Wenyou,
No worries this time. I have updated your patch to the fix the compile error.
I moved the declaration of the "atmci_dev_pm_ops" outside the CONFIG_PM. Please go ahead and have a look at my next branch.
Kind regards
Uffe
Quoted 18 lines
Quoted 1 line
Quoted 1 line
drivers/mmc/host/atmel-mci.c:2593: error: 'atmci_dev_pm_ops' undeclared here (not in a function)vim +/atmci_dev_pm_ops +2593
drivers/mmc/host/atmel-mci.c2587
2588 static structplatform_driveratmci_driver= {2589 .remove = __exit_p(atmci_remove), 2590 .driver = { 2591 .name = "atmel_mci", 2592 .of_match_table = of_match_ptr(atmci_dt_ids), > 2593 .pm = &atmci_dev_pm_ops,2594 },
2595 };
2596---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
Thank you very much!
Quoted 54 lines
-----Original Message-----
From: Ulf Hansson [mailto:[email protected]]
Sent: Wednesday, November 05, 2014 9:01 PM
To: Yang, Wenyou
Cc: linux-mmc
Subject: Re: [ulf.hansson-mmc:next 72/74]drivers/mmc/host/atmel-mci.c:2593:
error: 'atmci_dev_pm_ops' undeclared here (not in a function)Quoted 7 lines · kbuild test robot
tree: https://git.linaro.org/people/ulf.hansson/mmc next head: c78dfc314bb79d5a364b6764f07e1e7fd6229391 commit: 0ad8e93fc8ad5c815dc3b5a298ce05e2df6da0b8 [72/74] mmc: atmel-mci: add runtime pm support config: avr32-atngw100_mrmt_defconfig (attached as .config)reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
Quoted 7 lines
chmod +x ~/bin/make.cross
git checkout0ad8e93fc8ad5c815dc3b5a298ce05e2df6da0b8# save the attached .config to linux build tree make.cross ARCH=avr32All error/warnings:
Hi Wenyou,
No worries this time. I have updated your patch to the fix the compile error.
I moved the declaration of the "
atmci_dev_pm_ops" outside theCONFIG_PM. Please go ahead and have a look at my next branch.Kind regards
UffeQuoted 19 lines
Quoted 2 lines
Quoted 2 lines
drivers/mmc/host/atmel-mci.c:2593: error: 'atmci_dev_pm_ops' undeclared here (not in a function)vim +/atmci_dev_pm_ops +2593
drivers/mmc/host/atmel-mci.c2587
2588 static structplatform_driveratmci_driver= {2589 .remove = __exit_p(atmci_remove), 2590 .driver = { 2591 .name = "atmel_mci", 2592 .of_match_table = of_match_ptr(atmci_dt_ids), > 2593 .pm = &atmci_dev_pm_ops,2594 },
2595 };
2596---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation