|
@@ -2,7 +2,7 @@
|
|
* hello-3.c - Illustrating the __init, __initdata and __exit macros.
|
|
* hello-3.c - Illustrating the __init, __initdata and __exit macros.
|
|
*/
|
|
*/
|
|
#include <linux/init.h> /* Needed for the macros */
|
|
#include <linux/init.h> /* Needed for the macros */
|
|
-#include <linux/kernel.h> /* Needed for KERN_INFO */
|
|
|
|
|
|
+#include <linux/kernel.h> /* Needed for pr_info() */
|
|
#include <linux/module.h> /* Needed by all modules */
|
|
#include <linux/module.h> /* Needed by all modules */
|
|
|
|
|
|
static int hello3_data __initdata = 3;
|
|
static int hello3_data __initdata = 3;
|