tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next head: 92e9e6d1f9844b73a26215025a922e7d7aeae361 commit: 78d86c213f28193082b5d8a1a424044b7ba406f1 [94/95] init.h: Remove __dev* sections from the kernel config: make ARCH=avr32 atngw100_defconfig All warnings: In file included from include/uapi/linux/param.h:4, from include/linux/timex.h:63, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/srcu.h:32, from include/linux/notifier.h:15, from include/linux/clk.h:17, from drivers/spi/spi-atmel.c:13: arch/avr32/include/asm/param.h:6:1: warning: "HZ" redefined In file included from arch/avr32/include/asm/param.h:4, from include/uapi/linux/param.h:4, from include/linux/timex.h:63, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/srcu.h:32, from include/linux/notifier.h:15, from include/linux/clk.h:17, from drivers/spi/spi-atmel.c:13: arch/avr32/include/uapi/asm/param.h:6:1: warning: this is the location of the previous definition drivers/spi/spi-atmel.c:1007: warning: 'atmel_spi_remove' defined but not used vim +1007 +/atmel_spi_remove drivers/spi/spi-atmel.c 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 991 spi_writel(as, CR, SPI_BIT(SWRST)); 50d7d5bf drivers/spi/atmel_spi.c Jean-Christophe Lallemand 2008-11-12 992 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 993 clk_disable(clk); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 994 free_irq(irq, master); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 995 out_unmap_regs: 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 996 iounmap(as->regs); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 997 out_free_buffer: 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 998 dma_free_coherent(&pdev->dev, BUFFER_SIZE, as->buffer, 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 999 as->buffer_dma); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1000 out_free: 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1001 clk_put(clk); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1002 spi_master_put(master); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1003 return ret; 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1004 } 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1005 1cb201af drivers/spi/spi-atmel.c Jean-Christophe PLAGNIOL-VILLARD 2011-11-04 1006 static int __devexit atmel_spi_remove(struct platform_device *pdev) 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 @1007 { 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1008 struct spi_master *master = platform_get_drvdata(pdev); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1009 struct atmel_spi *as = spi_master_get_devdata(master); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1010 struct spi_message *msg; 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1011 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1012 /* reset the hardware and block queue progress */ 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1013 spin_lock_irq(&as->lock); 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1014 as->stopping = 1; 754ce4f2 drivers/spi/atmel_spi.c Haavard Skinnemoen 2007-02-14 1015 spi_writel(as, CR, SPI_BIT(SWRST)); --- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel