Re: mmotm 2012-09-06-16-46 uploaded (drivers/misc/lis3lv02d/lis3lv02d_spi.c)
On 08.09.2012 02:50, Randy Dunlap wrote: > On 09/06/2012 04:47 PM, a...@linux-foundation.org wrote: > >> The mm-of-the-moment snapshot 2012-09-06-16-46 has been uploaded to >> >>http://www.ozlabs.org/~akpm/mmotm/ >> > > > > on x86_64: > > CONFIG_OF and CONFIG_DTC are not enabled. > > > drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: implicit declaration of > function 'of_match_ptr' > drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: initializer element is > not constant > drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: (near initialization for > 'lis302dl_spi_driver.driver.of_match_table') > > Thanks - the attached patch fixes it. Daniel >From 3c415511cb825d5b5d015b716e14d720a3d56bf6 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Sat, 8 Sep 2012 12:41:33 +0200 Subject: [PATCH] lis3: lis3lv02d_spi.c: include linux/of.h This include is needed to define of_match:ptr() for !CONFIG_OF && 1CONFIG_DTC. Signed-off-by: Daniel Mack Reported-by: Randy Dunlap --- drivers/misc/lis3lv02d/lis3lv02d_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c index 8616054..23f3986 100644 --- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c +++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "lis3lv02d.h" -- 1.7.11.4
Re: mmotm 2012-09-06-16-46 uploaded (drivers/misc/lis3lv02d/lis3lv02d_spi.c)
On 08.09.2012 02:50, Randy Dunlap wrote: On 09/06/2012 04:47 PM, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2012-09-06-16-46 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ on x86_64: CONFIG_OF and CONFIG_DTC are not enabled. drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: implicit declaration of function 'of_match_ptr' drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: initializer element is not constant drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: (near initialization for 'lis302dl_spi_driver.driver.of_match_table') Thanks - the attached patch fixes it. Daniel From 3c415511cb825d5b5d015b716e14d720a3d56bf6 Mon Sep 17 00:00:00 2001 From: Daniel Mack zon...@gmail.com Date: Sat, 8 Sep 2012 12:41:33 +0200 Subject: [PATCH] lis3: lis3lv02d_spi.c: include linux/of.h This include is needed to define of_match:ptr() for !CONFIG_OF 1CONFIG_DTC. Signed-off-by: Daniel Mack zon...@gmail.com Reported-by: Randy Dunlap rdun...@xenotime.net --- drivers/misc/lis3lv02d/lis3lv02d_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c index 8616054..23f3986 100644 --- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c +++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c @@ -17,6 +17,7 @@ #include linux/workqueue.h #include linux/spi/spi.h #include linux/pm.h +#include linux/of.h #include linux/of_platform.h #include lis3lv02d.h -- 1.7.11.4
Re: mmotm 2012-09-06-16-46 uploaded (drivers/misc/lis3lv02d/lis3lv02d_spi.c)
On 09/06/2012 04:47 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2012-09-06-16-46 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > on x86_64: CONFIG_OF and CONFIG_DTC are not enabled. drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: implicit declaration of function 'of_match_ptr' drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: initializer element is not constant drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: (near initialization for 'lis302dl_spi_driver.driver.of_match_table') -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: mmotm 2012-09-06-16-46 uploaded (drivers/misc/lis3lv02d/lis3lv02d_spi.c)
On 09/06/2012 04:47 PM, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2012-09-06-16-46 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ on x86_64: CONFIG_OF and CONFIG_DTC are not enabled. drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: implicit declaration of function 'of_match_ptr' drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: initializer element is not constant drivers/misc/lis3lv02d/lis3lv02d_spi.c:137:3: error: (near initialization for 'lis302dl_spi_driver.driver.of_match_table') -- ~Randy -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/