Documentation: update header filename in CodingStyle
authorRoland Kammerer <[email protected]>
Tue, 15 Mar 2011 23:11:52 +0000 (16:11 -0700)
committerLinus Torvalds <[email protected]>
Wed, 16 Mar 2011 17:47:03 +0000 (10:47 -0700)
pr_info() and pr_debug() are in linux/printk.h, not linux/kernel.h.
Last updated is unnecessary, we have git for that.

Signed-off-by: Roland Kammerer <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: Harry Wei <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/CodingStyle

index 8bb37237ebd25b19759cc47874c63155406ea28f..1cd3478e5834e0a7a8e1110ebd1a736989794148 100644 (file)
@@ -659,7 +659,7 @@ There are a number of driver model diagnostic macros in <linux/device.h>
 which you should use to make sure messages are matched to the right device
 and driver, and are tagged with the right level:  dev_err(), dev_warn(),
 dev_info(), and so forth.  For messages that aren't associated with a
-particular device, <linux/kernel.h> defines pr_debug() and pr_info().
+particular device, <linux/printk.h> defines pr_debug() and pr_info().
 
 Coming up with good debugging messages can be quite a challenge; and once
 you have them, they can be a huge help for remote troubleshooting.  Such
@@ -819,6 +819,3 @@ language C, URL: http://www.open-std.org/JTC1/SC22/WG14/
 Kernel CodingStyle, by [email protected] at OLS 2002:
 http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/
 
---
-Last updated on 2007-July-13.
-