Commit db9a7868 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] IPMI warning fixes

From: Geert Uytterhoeven <geert@linux-m68k.org>

When compiling the IPMI drivers on m68k, I needed a few more includes:

  - <asm/irq.h> (for disable_irq_nosync() and enable_irq())

  - <linux/types.h> (for size_t)

  - <asm/system.h> (for printk())
parent ae0ecb66
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#include <linux/rcupdate.h> #include <linux/rcupdate.h>
#include <linux/ipmi_smi.h> #include <linux/ipmi_smi.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h>
#include "ipmi_kcs_sm.h" #include "ipmi_kcs_sm.h"
#include <linux/init.h> #include <linux/init.h>
......
...@@ -37,8 +37,11 @@ ...@@ -37,8 +37,11 @@
* that document. * that document.
*/ */
#include <linux/types.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/string.h> /* Gets rid of memcpy warning */ #include <asm/string.h> /* Gets rid of memcpy warning */
#include <asm/system.h>
#include "ipmi_kcs_sm.h" #include "ipmi_kcs_sm.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment