Re: [PATCH 2/4] spi: pxa2xx: Translate ACPI DeviceSelection to Linux chip select on Baytrail

From: kbuild test robot
Date: Tue Jan 26 2016 - 08:15:54 EST


Hi Mika,

[auto build test ERROR on spi/for-next]
[also build test ERROR on v4.5-rc1 next-20160125]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Mika-Westerberg/spi-pxa2xx-Chip-select-fixes-for-Intel-Baytrail-and-Braswell/20160126-192113
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi for-next
config: arm-zeus_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
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

drivers/spi/spi-pxa2xx.c: In function 'pxa2xx_spi_probe':
>> drivers/spi/spi-pxa2xx.c:1512:28: error: 'pxa2xx_spi_fw_translate_cs' undeclared (first use in this function)
master->fw_translate_cs = pxa2xx_spi_fw_translate_cs;
^
drivers/spi/spi-pxa2xx.c:1512:28: note: each undeclared identifier is reported only once for each function it appears in

vim +/pxa2xx_spi_fw_translate_cs +1512 drivers/spi/spi-pxa2xx.c

1506 master->bus_num = ssp->port_id;
1507 master->dma_alignment = DMA_ALIGNMENT;
1508 master->cleanup = cleanup;
1509 master->setup = setup;
1510 master->transfer_one_message = pxa2xx_spi_transfer_one_message;
1511 master->unprepare_transfer_hardware = pxa2xx_spi_unprepare_transfer;
> 1512 master->fw_translate_cs = pxa2xx_spi_fw_translate_cs;
1513 master->auto_runtime_pm = true;
1514
1515 drv_data->ssp_type = ssp->type;

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

Attachment: .config.gz
Description: Binary data