Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 6221f222c0ebf1acdf7abcf927178f40e1a65e2a authored by Linus Torvalds on 06 April 2011, 01:30:43 UTC
Linux 2.6.39-rc2
Tip revision: 6221f22
regs-fb.h
/* 
 * Copyright 2010 Ben Dooks <ben-linux@fluff.org>
 *
 * Dummy framebuffer to allow build for the moment.
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

#ifndef __ASM_ARCH_MACH_REGS_FB_H
#define __ASM_ARCH_MACH_REGS_FB_H __FILE__

#include <plat/regs-fb-v4.h>

static inline unsigned int s3c_fb_pal_reg(unsigned int window, int reg)
{
	return 0x2400 + (window * 256 *4 ) + reg;
}

#endif /* __ASM_ARCH_MACH_REGS_FB_H */
back to top