fb-core.h 565 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright 2010 Samsung Electronics Co., Ltd.
  4. * Pawel Osciak <p.osciak@samsung.com>
  5. *
  6. * Samsung framebuffer driver core functions
  7. */
  8. #ifndef __ASM_PLAT_FB_CORE_H
  9. #define __ASM_PLAT_FB_CORE_H __FILE__
  10. /*
  11. * These functions are only for use with the core support code, such as
  12. * the CPU-specific initialization code.
  13. */
  14. /* Re-define device name depending on support. */
  15. static inline void s3c_fb_setname(char *name)
  16. {
  17. #ifdef CONFIG_S3C_DEV_FB
  18. s3c_device_fb.name = name;
  19. #endif
  20. }
  21. #endif /* __ASM_PLAT_FB_CORE_H */