summaryrefslogtreecommitdiff
path: root/drivers/media/IR/nuvoton-cir.h
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2010-10-15 11:07:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:54:20 -0200
commit4e6e29ad10dc8ff174d7fd15b54e32c783fd8ab8 (patch)
tree16498c200bbd20e5af4422c493fbac85e178329d /drivers/media/IR/nuvoton-cir.h
parent06e6588edfb2be6fb3e544097c07274bd7b64084 (diff)
downloadlwn-4e6e29ad10dc8ff174d7fd15b54e32c783fd8ab8.tar.gz
lwn-4e6e29ad10dc8ff174d7fd15b54e32c783fd8ab8.zip
[media] IR/nuvoton: address all checkpatch.pl issues
The driver was missing KERN_ facilities on a number of printks. The register dump functions have been updated to use KERN_INFO, so that the register dump gets logged in syslog (they only run on driver load, and only when debug is enabled). The buffer dump routine now uses KERN_DEBUG, as that spew will happen quite frequently (several times every IR signal), and shouldn't need to be logged. Also split up the small handful of lines that were just over 80 characaters, and fixed the ioctl.h include. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/nuvoton-cir.h')
-rw-r--r--drivers/media/IR/nuvoton-cir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/nuvoton-cir.h b/drivers/media/IR/nuvoton-cir.h
index 12bfe899fd1a..62dc53017c8e 100644
--- a/drivers/media/IR/nuvoton-cir.h
+++ b/drivers/media/IR/nuvoton-cir.h
@@ -26,7 +26,7 @@
*/
#include <linux/spinlock.h>
-#include <asm/ioctl.h>
+#include <linux/ioctl.h>
/* platform driver name to register */
#define NVT_DRIVER_NAME "nuvoton-cir"