mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
fbdev: s/#if CONFIG/#ifdef CONFIG/
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>
This commit is contained in:
parent
91fe4d508f
commit
cde0e2ccb8
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user