[PATCH 5/5] fbdev: s/#if CONFIG/#ifdef CONFIG/
Subsystems:
framebuffer layer , the rest
STALE5251d
3 messages,
3 authors,
2012-04-06 · open the first message on its own page
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: linux-fbdev@vger.kernel.org
---
drivers/video/au1100fb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c
index de9da67..4da1895 100644
--- a/drivers/video/au1100fb.c
+++ b/drivers/video/au1100fb.c @@ -532,7 +532,7 @@ static int __devinit au1100fb_drv_probe(struct platform_device *dev)
for ( page = ( unsigned long ) fbdev -> fb_mem ;
page < PAGE_ALIGN (( unsigned long ) fbdev -> fb_mem + fbdev -> fb_len );
page += PAGE_SIZE ) {
- #if CONFIG_DMA_NONCOHERENT
+ #ifdef CONFIG_DMA_NONCOHERENT
SetPageReserved ( virt_to_page ( CAC_ADDR (( void * ) page )));
#else
SetPageReserved ( virt_to_page ( page )); --
1.7.0.4
On 02/19/2012 03:11 PM, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
(I assume you want that to go mainline via Jiri's tree)
Best regards,
Florian Tobias Schandinat
quoted hunk Cc: linux-fbdev@vger.kernel.org
---
drivers/video/au1100fb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c
index de9da67..4da1895 100644
--- a/drivers/video/au1100fb.c
+++ b/drivers/video/au1100fb.c @@ -532,7 +532,7 @@ static int __devinit au1100fb_drv_probe(struct platform_device *dev)
for ( page = ( unsigned long ) fbdev -> fb_mem ;
page < PAGE_ALIGN (( unsigned long ) fbdev -> fb_mem + fbdev -> fb_len );
page += PAGE_SIZE ) {
- #if CONFIG_DMA_NONCOHERENT
+ #ifdef CONFIG_DMA_NONCOHERENT
SetPageReserved ( virt_to_page ( CAC_ADDR (( void * ) page )));
#else
SetPageReserved ( virt_to_page ( page ));
On Sun, 19 Feb 2012, Florian Tobias Schandinat wrote:
On 02/19/2012 03:11 PM, Geert Uytterhoeven wrote: quoted Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
(I assume you want that to go mainline via Jiri's tree)
As this doesn't seem to be in linux-next through any other tree as of
today, I have picked it up.
Thanks,
--
Jiri Kosina
SUSE Labs