root/drivers/video/fbdev/via/debug.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
   2 /*
   3  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
   4  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
   5 
   6  */
   7 #ifndef __DEBUG_H__
   8 #define __DEBUG_H__
   9 
  10 #ifndef VIAFB_DEBUG
  11 #define VIAFB_DEBUG 0
  12 #endif
  13 
  14 #if VIAFB_DEBUG
  15 #define DEBUG_MSG(f, a...)   printk(f, ## a)
  16 #else
  17 #define DEBUG_MSG(f, a...)
  18 #endif
  19 
  20 #define VIAFB_WARN 0
  21 #if VIAFB_WARN
  22 #define WARN_MSG(f, a...)   printk(f, ## a)
  23 #else
  24 #define WARN_MSG(f, a...)
  25 #endif
  26 
  27 #endif /* __DEBUG_H__ */

/* [<][>][^][v][top][bottom][index][help] */