summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ofw/ofw_standard.c48
-rw-r--r--sys/powerpc/ofw/ofw_real.c46
2 files changed, 47 insertions, 47 deletions
diff --git a/sys/dev/ofw/ofw_standard.c b/sys/dev/ofw/ofw_standard.c
index de18a9e..0fda7db 100644
--- a/sys/dev/ofw/ofw_standard.c
+++ b/sys/dev/ofw/ofw_standard.c
@@ -165,7 +165,7 @@ ofw_std_init(ofw_t ofw, void *openfirm)
static int
ofw_std_test(ofw_t ofw, const char *name)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -187,7 +187,7 @@ static int
ofw_std_interpret(ofw_t ofw, const char *cmd, int nreturns,
unsigned long *returns)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -217,7 +217,7 @@ ofw_std_interpret(ofw_t ofw, const char *cmd, int nreturns,
static phandle_t
ofw_std_peer(ofw_t ofw, phandle_t node)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -239,7 +239,7 @@ ofw_std_peer(ofw_t ofw, phandle_t node)
static phandle_t
ofw_std_child(ofw_t ofw, phandle_t node)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -261,7 +261,7 @@ ofw_std_child(ofw_t ofw, phandle_t node)
static phandle_t
ofw_std_parent(ofw_t ofw, phandle_t node)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -283,7 +283,7 @@ ofw_std_parent(ofw_t ofw, phandle_t node)
static phandle_t
ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -305,7 +305,7 @@ ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance)
static ssize_t
ofw_std_getproplen(ofw_t ofw, phandle_t package, const char *propname)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -330,7 +330,7 @@ static ssize_t
ofw_std_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
size_t buflen)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -359,7 +359,7 @@ static int
ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous, char *buf,
size_t size)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -387,7 +387,7 @@ static int
ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
const void *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -415,7 +415,7 @@ ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
static ssize_t
ofw_std_canon(ofw_t ofw, const char *device, char *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -441,7 +441,7 @@ ofw_std_canon(ofw_t ofw, const char *device, char *buf, size_t len)
static phandle_t
ofw_std_finddevice(ofw_t ofw, const char *device)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -463,7 +463,7 @@ ofw_std_finddevice(ofw_t ofw, const char *device)
static ssize_t
ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -489,7 +489,7 @@ ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
static ssize_t
ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -516,7 +516,7 @@ static int
ofw_std_call_method(ofw_t ofw, ihandle_t instance, const char *method,
int nargs, int nreturns, unsigned long *args_and_returns)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -559,7 +559,7 @@ ofw_std_call_method(ofw_t ofw, ihandle_t instance, const char *method,
static ihandle_t
ofw_std_open(ofw_t ofw, const char *device)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -581,7 +581,7 @@ ofw_std_open(ofw_t ofw, const char *device)
static void
ofw_std_close(ofw_t ofw, ihandle_t instance)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -599,7 +599,7 @@ ofw_std_close(ofw_t ofw, ihandle_t instance)
static ssize_t
ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -626,7 +626,7 @@ ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len)
static ssize_t
ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -652,7 +652,7 @@ ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len)
static int
ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -682,7 +682,7 @@ ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos)
static caddr_t
ofw_std_claim(ofw_t ofw, void *virt, size_t size, u_int align)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -708,7 +708,7 @@ ofw_std_claim(ofw_t ofw, void *virt, size_t size, u_int align)
static void
ofw_std_release(ofw_t ofw, void *virt, size_t size)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -732,7 +732,7 @@ ofw_std_release(ofw_t ofw, void *virt, size_t size)
static void
ofw_std_enter(ofw_t ofw)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -748,7 +748,7 @@ ofw_std_enter(ofw_t ofw)
static void
ofw_std_exit(ofw_t ofw)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
diff --git a/sys/powerpc/ofw/ofw_real.c b/sys/powerpc/ofw/ofw_real.c
index a65ee91..094025c 100644
--- a/sys/powerpc/ofw/ofw_real.c
+++ b/sys/powerpc/ofw/ofw_real.c
@@ -273,7 +273,7 @@ ofw_real_init(ofw_t ofw, void *openfirm)
static int
ofw_real_test(ofw_t ofw, const char *name)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -304,7 +304,7 @@ ofw_real_test(ofw_t ofw, const char *name)
static phandle_t
ofw_real_peer(ofw_t ofw, phandle_t node)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -326,7 +326,7 @@ ofw_real_peer(ofw_t ofw, phandle_t node)
static phandle_t
ofw_real_child(ofw_t ofw, phandle_t node)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -348,7 +348,7 @@ ofw_real_child(ofw_t ofw, phandle_t node)
static phandle_t
ofw_real_parent(ofw_t ofw, phandle_t node)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -370,7 +370,7 @@ ofw_real_parent(ofw_t ofw, phandle_t node)
static phandle_t
ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -392,7 +392,7 @@ ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance)
static ssize_t
ofw_real_getproplen(ofw_t ofw, phandle_t package, const char *propname)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -422,7 +422,7 @@ static ssize_t
ofw_real_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
size_t buflen)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -458,7 +458,7 @@ static int
ofw_real_nextprop(ofw_t ofw, phandle_t package, const char *previous,
char *buf, size_t size)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -493,7 +493,7 @@ static int
ofw_real_setprop(ofw_t ofw, phandle_t package, const char *propname,
const void *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -526,7 +526,7 @@ ofw_real_setprop(ofw_t ofw, phandle_t package, const char *propname,
static ssize_t
ofw_real_canon(ofw_t ofw, const char *device, char *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -559,7 +559,7 @@ ofw_real_canon(ofw_t ofw, const char *device, char *buf, size_t len)
static phandle_t
ofw_real_finddevice(ofw_t ofw, const char *device)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -586,7 +586,7 @@ ofw_real_finddevice(ofw_t ofw, const char *device)
static ssize_t
ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -619,7 +619,7 @@ ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
static ssize_t
ofw_real_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -653,7 +653,7 @@ static int
ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method,
int nargs, int nreturns, unsigned long *args_and_returns)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -701,7 +701,7 @@ ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method,
static ihandle_t
ofw_real_open(ofw_t ofw, const char *device)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -729,7 +729,7 @@ ofw_real_open(ofw_t ofw, const char *device)
static void
ofw_real_close(ofw_t ofw, ihandle_t instance)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -747,7 +747,7 @@ ofw_real_close(ofw_t ofw, ihandle_t instance)
static ssize_t
ofw_real_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -780,7 +780,7 @@ ofw_real_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len)
static ssize_t
ofw_real_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -811,7 +811,7 @@ ofw_real_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len)
static int
ofw_real_seek(ofw_t ofw, ihandle_t instance, u_int64_t pos)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -841,7 +841,7 @@ ofw_real_seek(ofw_t ofw, ihandle_t instance, u_int64_t pos)
static caddr_t
ofw_real_claim(ofw_t ofw, void *virt, size_t size, u_int align)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -867,7 +867,7 @@ ofw_real_claim(ofw_t ofw, void *virt, size_t size, u_int align)
static void
ofw_real_release(ofw_t ofw, void *virt, size_t size)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -891,7 +891,7 @@ ofw_real_release(ofw_t ofw, void *virt, size_t size)
static void
ofw_real_enter(ofw_t ofw)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
@@ -907,7 +907,7 @@ ofw_real_enter(ofw_t ofw)
static void
ofw_real_exit(ofw_t ofw)
{
- static struct {
+ struct {
cell_t name;
cell_t nargs;
cell_t nreturns;
OpenPOWER on IntegriCloud