Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
75b2a025
Commit
75b2a025
authored
Nov 16, 2007
by
David S. Miller
Committed by
David S. Miller
Feb 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Merge include/asm-sparc{,64}/of_device.h
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
97b4872c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
38 deletions
+1
-38
include/asm-sparc64/of_device.h
include/asm-sparc64/of_device.h
+1
-38
No files found.
include/asm-sparc64/of_device.h
View file @
75b2a025
#ifndef _ASM_SPARC64_OF_DEVICE_H
#define _ASM_SPARC64_OF_DEVICE_H
#ifdef __KERNEL__
#include <linux/device.h>
#include <linux/of.h>
#include <linux/mod_devicetable.h>
#include <asm/openprom.h>
/*
* The of_device is a kind of "base class" that is a superset of
* struct device for use by devices attached to an OF node and
* probed using OF properties.
*/
struct
of_device
{
struct
device_node
*
node
;
struct
device
dev
;
struct
resource
resource
[
PROMREG_MAX
];
unsigned
int
irqs
[
PROMINTR_MAX
];
int
num_irqs
;
void
*
sysdata
;
int
slot
;
int
portid
;
int
clock_freq
;
};
extern
void
__iomem
*
of_ioremap
(
struct
resource
*
res
,
unsigned
long
offset
,
unsigned
long
size
,
char
*
name
);
extern
void
of_iounmap
(
struct
resource
*
res
,
void
__iomem
*
base
,
unsigned
long
size
);
/* These are just here during the transition */
#include <linux/of_device.h>
#include <linux/of_platform.h>
#endif
/* __KERNEL__ */
#endif
/* _ASM_SPARC64_OF_DEVICE_H */
#include <asm-sparc/of_device.h>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment