/* Align the given pixel count so that it will start on an 32bit word boundary.  */
static int s3c_fb_align_word(unsigned int bpp, unsigned int pix)
/* Align the given pixel count so that it will start on an 32bit word boundary.  */
static int s3c_fb_align_word(unsigned int bpp, unsigned int pix)
{
	int pix_per_word;
	if (bpp > 16)
		return pix;
	pix_per_word = (8 * 32) / bpp;
	return ALIGN(pix, pix_per_word);
}