Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324451
b: refs/heads/master
c: 0a18b05
h: refs/heads/master
i:
  324449: 87dd57f
  324447: a3176d1
v: v3
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Sep 26, 2012
1 parent 29f428d commit a1eb2ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5445ee6a62329f6eb28b8ebd8ff4c4659ca0209
refs/heads/master: 0a18b05043acc01d1d6a4bac459e62c79628881c
10 changes: 6 additions & 4 deletions trunk/include/linux/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,9 @@ extern const char *dev_driver_string(const struct device *dev);

#ifdef CONFIG_PRINTK

extern int dev_vprintk_emit(int level, const struct device *dev,
const char *fmt, va_list args);
extern __printf(3, 0)
int dev_vprintk_emit(int level, const struct device *dev,
const char *fmt, va_list args);
extern __printf(3, 4)
int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...);

Expand All @@ -920,8 +921,9 @@ int _dev_info(const struct device *dev, const char *fmt, ...);

#else

static int dev_vprintk_emit(int level, const struct device *dev,
const char *fmt, va_list args)
static inline __printf(3, 0)
int dev_vprintk_emit(int level, const struct device *dev,
const char *fmt, va_list args)
{ return 0; }
static inline __printf(3, 4)
int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...)
Expand Down

0 comments on commit a1eb2ca

Please sign in to comment.