aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-09-12 20:14:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-17 06:10:05 -0700
commit666f355f3805d68b6ed5f7013806f1f65abfbf03 (patch)
treea04490ab9e68e4113410b7e7399edb9369545dfe /include/linux/device.h
parentdev: Add dev_vprintk_emit and dev_printk_emit (diff)
downloadlinux-dev-666f355f3805d68b6ed5f7013806f1f65abfbf03.tar.xz
linux-dev-666f355f3805d68b6ed5f7013806f1f65abfbf03.zip
device and dynamic_debug: Use dev_vprintk_emit and dev_printk_emit
Convert direct calls of vprintk_emit and printk_emit to the dev_ equivalents. Make create_syslog_header static. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: David S. Miller <davem@davemloft.net> Tested-by: Jim Cromie <jim.cromie@gmail.com> Acked-by: Jason Baron <jbaron@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 0d9ba0c09791..6d37e59db571 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -895,8 +895,6 @@ extern const char *dev_driver_string(const struct device *dev);
#ifdef CONFIG_PRINTK
-extern int create_syslog_header(const struct device *dev,
- char *hdr, size_t hdrlen);
extern int dev_vprintk_emit(int level, const struct device *dev,
const char *fmt, va_list args);
extern __printf(3, 4)