1/* MN10300 Frame buffer stuff 2 * 3 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public Licence 8 * as published by the Free Software Foundation; either version 9 * 2 of the Licence, or (at your option) any later version. 10 */ 11#ifndef _ASM_FB_H 12#define _ASM_FB_H 13 14#include <linux/fb.h> 15 16#define fb_pgprotect(...) do {} while (0) 17 18static inline int fb_is_primary_device(struct fb_info *info) 19{ 20 return 0; 21} 22 23#endif /* _ASM_FB_H */ 24