summaryrefslogtreecommitdiff
path: root/drivers/media/pci/ivtv/ivtv-alsa-mixer.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-24 14:01:20 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 19:28:44 +0300
commitbbdba43f202bcd724063524aef1436459af0e5ec (patch)
tree59f023323298c037b42cfe4b3a9eb1487f7e94af /drivers/media/pci/ivtv/ivtv-alsa-mixer.c
parente7b3a2b22176d01db0c3b31d6389ccf542ba1967 (diff)
downloadlinux-bbdba43f202bcd724063524aef1436459af0e5ec.tar.xz
[media] ivtv: prepare to convert to pr_foo()
Move the pr_fmt() macro to ivtv_driver.h and ensure that it will be the first file to be included on all ivtv files. While here, put the includes inside ivtv-driver.h on alphabetic order. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/ivtv/ivtv-alsa-mixer.c')
-rw-r--r--drivers/media/pci/ivtv/ivtv-alsa-mixer.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/media/pci/ivtv/ivtv-alsa-mixer.c b/drivers/media/pci/ivtv/ivtv-alsa-mixer.c
index 847379cdaf05..ba372a23eb5c 100644
--- a/drivers/media/pci/ivtv/ivtv-alsa-mixer.c
+++ b/drivers/media/pci/ivtv/ivtv-alsa-mixer.c
@@ -15,21 +15,16 @@
* GNU General Public License for more details.
*/
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/device.h>
-#include <linux/spinlock.h>
-#include <linux/videodev2.h>
+#include "ivtv-alsa.h"
+#include "ivtv-alsa-mixer.h"
+#include "ivtv-driver.h"
-#include <media/v4l2-device.h>
+#include <linux/videodev2.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/tlv.h>
-#include "ivtv-alsa.h"
-#include "ivtv-driver.h"
-
/*
* Note the cx25840-core volume scale is funny, due to the alignment of the
* scale with another chip's range: