aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kmsg_dump.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-06-18 18:32:57 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-18 18:55:21 -0400
commit246f6f2ff2c5cf46ded6d06f11f63e38bad880d1 (patch)
treec812c90ce96f744ed82815dafbf1b0181ec051a1 /include/linux/kmsg_dump.h
parentb56a39ac263e5b8cafedd551a49c2105e68b98c2 (diff)
kmsg - kmsg_dump() fix CONFIG_PRINTK=n compilation
Signed-off-by: Kay Sievers <kay@vrfy.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Randy Dunlap <rdunlap@xenotime.net> Reported-by: Fengguang Wu <wfg@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kmsg_dump.h')
-rw-r--r--include/linux/kmsg_dump.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/kmsg_dump.h b/include/linux/kmsg_dump.h
index af4eb5a39d9a..d6bd50110ec2 100644
--- a/include/linux/kmsg_dump.h
+++ b/include/linux/kmsg_dump.h
@@ -71,19 +71,19 @@ static inline void kmsg_dump(enum kmsg_dump_reason reason)
71{ 71{
72} 72}
73 73
74bool kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog, 74static inline bool kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog,
75 const char *line, size_t size, size_t *len) 75 const char *line, size_t size, size_t *len)
76{ 76{
77 return false; 77 return false;
78} 78}
79 79
80bool kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog, 80static inline bool kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog,
81 char *buf, size_t size, size_t *len) 81 char *buf, size_t size, size_t *len)
82{ 82{
83 return false; 83 return false;
84} 84}
85 85
86void kmsg_dump_rewind(struct kmsg_dumper *dumper) 86static inline void kmsg_dump_rewind(struct kmsg_dumper *dumper)
87{ 87{
88} 88}
89 89