Skip to content

Commit

Permalink
fbdev: s/#if CONFIG/#ifdef CONFIG/
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Geert Uytterhoeven authored and Jiri Kosina committed Apr 6, 2012
1 parent 91fe4d5 commit cde0e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/au1100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit cde0e2c

Please sign in to comment.