Commit b89225a1 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

[media] smiapp: Remove smiapp-debug.h in favour of dynamic debug

Remove smiapp-debug.h and let people use CONFIG_DYNAMIC_DEBUG instead. The
option only affected to when debug information was being printed.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 272ed119
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
* *
*/ */
#include "smiapp/smiapp-debug.h"
#include <linux/gcd.h> #include <linux/gcd.h>
#include <linux/lcm.h> #include <linux/lcm.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -4,10 +4,3 @@ config VIDEO_SMIAPP ...@@ -4,10 +4,3 @@ config VIDEO_SMIAPP
select VIDEO_SMIAPP_PLL select VIDEO_SMIAPP_PLL
---help--- ---help---
This is a generic driver for SMIA++/SMIA camera modules. This is a generic driver for SMIA++/SMIA camera modules.
config VIDEO_SMIAPP_DEBUG
bool "Enable debugging for the generic SMIA++/SMIA driver"
depends on VIDEO_SMIAPP
---help---
Enable debugging output in the generic SMIA++/SMIA driver. If you
are developing the driver you might want to enable this.
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
* *
*/ */
#include "smiapp-debug.h"
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/gpio.h> #include <linux/gpio.h>
......
/*
* drivers/media/video/smiapp/smiapp-debug.h
*
* Generic driver for SMIA/SMIA++ compliant camera modules
*
* Copyright (C) 2011--2012 Nokia Corporation
* Contact: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef SMIAPP_DEBUG_H
#define SMIAPP_DEBUG_H
#ifdef CONFIG_VIDEO_SMIAPP_DEBUG
#define DEBUG
#endif
#endif
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
* *
*/ */
#include "smiapp-debug.h"
#include <linux/delay.h> #include <linux/delay.h>
#include "smiapp.h" #include "smiapp.h"
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
* *
*/ */
#include "smiapp-debug.h"
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/i2c.h> #include <linux/i2c.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment