Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 657f201d authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Create common header file for prom_{32,64}.c



This is where common declarations will go as we unify
these files as much as possible into common code.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b28017f5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
#ifndef __PROM_H
#define __PROM_H

#include <linux/spinlock.h>
#include <asm/prom.h>

extern struct device_node *allnodes;	/* temporary while merging */
extern rwlock_t devtree_lock;	/* temporary while merging */

#endif /* __PROM_H */
+1 −3
Original line number Diff line number Diff line
@@ -25,9 +25,7 @@
#include <asm/prom.h>
#include <asm/oplib.h>

extern struct device_node *allnodes;	/* temporary while merging */

extern rwlock_t devtree_lock;	/* temporary while merging */
#include "prom.h"

struct device_node *of_find_node_by_phandle(phandle handle)
{
+1 −3
Original line number Diff line number Diff line
@@ -30,9 +30,7 @@
#include <asm/upa.h>
#include <asm/smp.h>

extern struct device_node *allnodes;	/* temporary while merging */

extern rwlock_t devtree_lock;	/* temporary while merging */
#include "prom.h"

struct device_node *of_find_node_by_phandle(phandle handle)
{