aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorLaurent Navet <laurent.navet@gmail.com>2013-01-21 16:16:05 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2015-05-30 09:32:41 -0400
commit46f533ccb80d32a08b391fc1c45860e46174b814 (patch)
treeb49222c65b329d6471c90fce1b5115b8bd4dd7b5 /scripts/gdb/linux/modules.py
parent221f7edb732d5b81d0b41b5c4811121e1c400064 (diff)
drivers: pcmcia: ds.c fix checkpatch errors
fix these checkpatch errors : - ERROR: spaces required around that '<' (ctx:VxW) - ERROR: "foo * bar" should be "foo *bar" - WARNING: please, no space before tabs Signed-off-by: Laurent Navet <laurent.navet@gmail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
.com> 2010-02-14 09:13:43 -0500 committer Grant Likely <grant.likely@secretlab.ca> 2010-02-14 09:13:43 -0500 of: protect linux/of.h with CONFIG_OF' href='/cgit/cgit.cgi/litmus-rt-budgetable-locks.git/.git/commit/include/linux/of.h?h=update_litmus_2019&id=9dfbf207802c7e8cda9d081a8d750b50633c82d2'>9dfbf207802c
731581e6a653











6f1924928377






6016a363f6b5
6f1924928377



















41f880091c15

fc0bdae49d81
0d351c3e932c
41f880091c15
50436312f47f









e91edcf5a294

526b5b3ed97b










526b5b3ed97b



b6caf2ad7ce3




2e89e685a8fd
b6caf2ad7ce3


2e89e685a8fd
b6caf2ad7ce3



2e89e685a8fd
b6caf2ad7ce3
2be09cb99382

b6caf2ad7ce3
b6caf2ad7ce3
76c1ce7870fd

7c7b60cb8754







1976152fd8e7
7c7b60cb8754



76c1ce7870fd



61e955db539e


76c1ce7870fd
















283029d16a88




76c1ce7870fd


f4eb010706b6
76c1ce7870fd

aabc08dc662b



1e291b14c8f1





76c1ce7870fd




834d97d45220
76c1ce7870fd


76c1ce7870fd

283029d16a88

3f07af494dfa
739649c53d7f


64b60e096fa3


76c1ce7870fd
21b082ecdd7e







fcdeb7fedf89





9dfbf207802c
76c1ce7870fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216

















                                                                             
                         
                       
                                  
                           
 

                          

                











                               






                         
                        



















                                                                        

                                                    
                                     
                             
 









                                                                               

                                                                       










                                                                       



                                                                 




                                                               
                                                              


                      
                                                       



                                                              
                                                                       
 

                                                                       
 
 

                     







                                                                          
                                                              



                                                              



                                                                              


                                                          
















                                                                            




                                                                          


                                                                         
                                                                        

                                                                            



                                                                      





                                                                    




                                                                      
                                                                    


                                                                  

                                                   

                                                                            
                                                                               


                                                                     


                                                                 
 







                                                                               





                                                 
                      
                        
#ifndef _LINUX_OF_H
#define _LINUX_OF_H
/*
 * Definitions for talking to the Open Firmware PROM on
 * Power Macintosh and other computers.
 *
 * Copyright (C) 1996-2005 Paul Mackerras.
 *
 * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp.
 * Updates for SPARC64 by David S. Miller
 * Derived from PowerPC and Sparc prom.h files by Stephen Rothwell, IBM Corp.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/kref.h>
#include <linux/mod_devicetable.h>
#include <linux/spinlock.h>

#include <asm/byteorder.h>

#ifdef CONFIG_OF

typedef u32 phandle;
typedef u32 ihandle;

struct property {
	char	*name;
	int	length;
	void	*value;
	struct property *next;
	unsigned long _flags;
	unsigned int unique_id;
};

#if defined(CONFIG_SPARC)
struct of_irq_controller;
#endif

struct device_node {
	const char *name;
	const char *type;
	phandle phandle;
	char	*full_name;

	struct	property *properties;
	struct	property *deadprops;	/* removed properties */
	struct	device_node *parent;
	struct	device_node *child;
	struct	device_node *sibling;
	struct	device_node *next;	/* next device of same type */
	struct	device_node *allnext;	/* next in list of all nodes */
	struct	proc_dir_entry *pde;	/* this node's proc directory */
	struct	kref kref;
	unsigned long _flags;
	void	*data;
#if defined(CONFIG_SPARC)
	char	*path_component_name;
	unsigned int unique_id;
	struct of_irq_controller *irq_trans;
#endif
};

/* Pointer for first entry in chain of all nodes. */
extern struct device_node *allnodes;
extern struct device_node *of_chosen;
extern rwlock_t devtree_lock;

static inline int of_node_check_flag(struct device_node *n, unsigned long flag)
{
	return test_bit(flag, &n->_flags);
}