Add a pr_fmt macro, and move saa7134.h header to the beginning, to avoid warnings when using the pr_foo macros. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
@@ -16,6 +16,9 @@
*
*/
+#include "saa7134.h"
+#include "saa7134-reg.h"
+
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
@@ -29,9 +32,6 @@
#include <linux/interrupt.h>
#include <linux/vmalloc.h>
-#include "saa7134.h"
-#include "saa7134-reg.h"
-
static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"enable debug messages [alsa]");
@@ -20,13 +20,14 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "tuner-xc2028.h"
#include <media/v4l2-common.h>
#include <media/tveeprom.h>
@@ -20,6 +20,9 @@
#include <linux/list.h>
@@ -33,9 +36,6 @@
#include <linux/dma-mapping.h>
#include <linux/pm.h>
MODULE_DESCRIPTION("v4l2 driver module for saa7130/34 based TV cards");
MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]");
MODULE_LICENSE("GPL");
@@ -28,8 +31,6 @@
#include <linux/kthread.h>
#include <linux/suspend.h>
#include "dvb-pll.h"
#include <dvb_frontend.h>
@@ -17,6 +17,9 @@
@@ -26,9 +29,6 @@
#include <media/v4l2-event.h>
/* ------------------------------------------------------------------ */
@@ -11,6 +11,9 @@
* GNU General Public License for more details.
#include <linux/kernel.h>
@@ -27,8 +30,6 @@
#include <media/v4l2-device.h>
#include <media/v4l2-subdev.h>
#include "go7007-priv.h"
/*#define GO7007_HPI_DEBUG*/
@@ -20,14 +20,15 @@
#include <linux/delay.h>
/* ----------------------------------------------------------- */
@@ -18,15 +18,15 @@
#define MODULE_NAME "saa7134"
static unsigned int disable_ir;
@@ -20,15 +20,15 @@
static unsigned int ts_debug;
#include <linux/freezer.h>
#include <asm/div64.h>
static unsigned int audio_debug;
@@ -20,14 +20,14 @@
static unsigned int vbi_debug;
@@ -31,9 +34,6 @@
#include <media/saa6588.h>
unsigned int video_debug;
@@ -21,6 +21,8 @@
#define SAA7134_VERSION "0, 2, 17"
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/pci.h>
#include <linux/videodev2.h>