linux/arch/arm/mach-s3c24xx/fb-core.h
<<
>>
Prefs
   1/*
   2 * Copyright 2010 Samsung Electronics Co., Ltd.
   3 *      Pawel Osciak <p.osciak@samsung.com>
   4 *
   5 * Samsung framebuffer driver core functions
   6 *
   7 * This program is free software; you can redistribute it and/or modify
   8 * it under the terms of the GNU General Public License version 2 as
   9 * published by the Free Software Foundation.
  10 */
  11#ifndef __ASM_PLAT_FB_CORE_H
  12#define __ASM_PLAT_FB_CORE_H __FILE__
  13
  14/*
  15 * These functions are only for use with the core support code, such as
  16 * the CPU-specific initialization code.
  17 */
  18
  19/* Re-define device name depending on support. */
  20static inline void s3c_fb_setname(char *name)
  21{
  22#ifdef CONFIG_S3C_DEV_FB
  23        s3c_device_fb.name = name;
  24#endif
  25}
  26
  27#endif /* __ASM_PLAT_FB_CORE_H */
  28