Commit 2ddb7fba authored by David S. Miller's avatar David S. Miller

[SPARC]: sparc64 openpromio.h needs compiler.h, sync sparc32

parent f32d92a4
#ifndef _SPARC_OPENPROMIO_H #ifndef _SPARC_OPENPROMIO_H
#define _SPARC_OPENPROMIO_H #define _SPARC_OPENPROMIO_H
#include <linux/compiler.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#include <linux/types.h> #include <linux/types.h>
...@@ -52,9 +53,9 @@ struct opiocdesc ...@@ -52,9 +53,9 @@ struct opiocdesc
{ {
int op_nodeid; /* PROM Node ID (value-result) */ int op_nodeid; /* PROM Node ID (value-result) */
int op_namelen; /* Length of op_name. */ int op_namelen; /* Length of op_name. */
char *op_name; /* Pointer to the property name. */ char __user *op_name; /* Pointer to the property name. */
int op_buflen; /* Length of op_buf (value-result) */ int op_buflen; /* Length of op_buf (value-result) */
char *op_buf; /* Pointer to buffer. */ char __user *op_buf; /* Pointer to buffer. */
}; };
#define OPIOCGET _IOWR('O', 1, struct opiocdesc) #define OPIOCGET _IOWR('O', 1, struct opiocdesc)
......
#ifndef _SPARC64_OPENPROMIO_H #ifndef _SPARC64_OPENPROMIO_H
#define _SPARC64_OPENPROMIO_H #define _SPARC64_OPENPROMIO_H
#include <linux/compiler.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#include <linux/types.h> #include <linux/types.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