diff options
author | Joe Perches <joe@perches.com> | 2012-09-12 23:14:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-17 09:10:05 -0400 |
commit | 666f355f3805d68b6ed5f7013806f1f65abfbf03 (patch) | |
tree | a04490ab9e68e4113410b7e7399edb9369545dfe /include | |
parent | 05e4e5b87aab74f994acf9dd4bed4a8f1367cd09 (diff) |
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')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 0d9ba0c0979..6d37e59db57 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); | |||
895 | 895 | ||
896 | #ifdef CONFIG_PRINTK | 896 | #ifdef CONFIG_PRINTK |
897 | 897 | ||
898 | extern int create_syslog_header(const struct device *dev, | ||
899 | char *hdr, size_t hdrlen); | ||
900 | extern int dev_vprintk_emit(int level, const struct device *dev, | 898 | extern int dev_vprintk_emit(int level, const struct device *dev, |
901 | const char *fmt, va_list args); | 899 | const char *fmt, va_list args); |
902 | extern __printf(3, 4) | 900 | extern __printf(3, 4) |