diff --git a/examples/hello-1.c b/examples/hello-1.c index c12d921..0abcf64 100644 --- a/examples/hello-1.c +++ b/examples/hello-1.c @@ -1,7 +1,7 @@ /* * hello-1.c - The simplest kernel module. */ -#include /* Needed for KERN_INFO */ +#include /* Needed for pr_info() */ #include /* Needed by all modules */ int init_module(void) diff --git a/examples/hello-2.c b/examples/hello-2.c index 503dcce..7fd3109 100644 --- a/examples/hello-2.c +++ b/examples/hello-2.c @@ -3,7 +3,7 @@ * This is preferred over using init_module() and cleanup_module(). */ #include /* Needed for the macros */ -#include /* Needed for KERN_INFO */ +#include /* Needed for pr_info() */ #include /* Needed by all modules */ static int __init hello_2_init(void) diff --git a/examples/hello-3.c b/examples/hello-3.c index bcfa804..e6f8afa 100644 --- a/examples/hello-3.c +++ b/examples/hello-3.c @@ -2,7 +2,7 @@ * hello-3.c - Illustrating the __init, __initdata and __exit macros. */ #include /* Needed for the macros */ -#include /* Needed for KERN_INFO */ +#include /* Needed for pr_info() */ #include /* Needed by all modules */ static int hello3_data __initdata = 3; diff --git a/examples/hello-4.c b/examples/hello-4.c index 69c2154..260af44 100644 --- a/examples/hello-4.c +++ b/examples/hello-4.c @@ -2,7 +2,7 @@ * hello-4.c - Demonstrates module documentation. */ #include /* Needed for the macros */ -#include /* Needed for KERN_INFO */ +#include /* Needed for pr_info() */ #include /* Needed by all modules */ MODULE_LICENSE("GPL");