diff options
author | Joe Perches <joe@perches.com> | 2012-09-12 20:14:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-17 06:10:05 -0700 |
commit | 666f355f3805d68b6ed5f7013806f1f65abfbf03 (patch) | |
tree | a04490ab9e68e4113410b7e7399edb9369545dfe /include/linux/device.h | |
parent | 05e4e5b87aab74f994acf9dd4bed4a8f1367cd09 (diff) | |
download | linux-3.10-666f355f3805d68b6ed5f7013806f1f65abfbf03.tar.gz linux-3.10-666f355f3805d68b6ed5f7013806f1f65abfbf03.tar.bz2 linux-3.10-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.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); #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) |