diff mbox

[TRIVIAL] ivtv-alsa-pcm: remove unnecessary printk.h include

Message ID 201209190900.35230.hverkuil@xs4all.nl (mailing list archive)
State New, archived
Headers show

Commit Message

Hans Verkuil Sept. 19, 2012, 7 a.m. UTC
Just a quick patch removing the printk.h include: this header is already
included by kernel.h, and it breaks the compat build because this header
only appeared in 2.6.37.

Regards,

	Hans

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Andy Walls Sept. 19, 2012, 9:59 a.m. UTC | #1
Hans Verkuil <hverkuil@xs4all.nl> wrote:

>Just a quick patch removing the printk.h include: this header is
>already
>included by kernel.h, and it breaks the compat build because this
>header
>only appeared in 2.6.37.
>
>Regards,
>
>	Hans
>
>Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
>
>diff --git a/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
>b/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
>index 82c708e..f7022bd 100644
>--- a/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
>+++ b/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
>@@ -26,7 +26,6 @@
> #include <linux/init.h>
> #include <linux/kernel.h>
> #include <linux/vmalloc.h>
>-#include <linux/printk.h>
> 
> #include <media/v4l2-device.h>
> 

Acked-by: Andy Walls <awalls@md.metrocast.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/pci/ivtv/ivtv-alsa-pcm.c b/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
index 82c708e..f7022bd 100644
--- a/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
+++ b/drivers/media/pci/ivtv/ivtv-alsa-pcm.c
@@ -26,7 +26,6 @@ 
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/vmalloc.h>
-#include <linux/printk.h>
 
 #include <media/v4l2-device.h>