Subversion Repositories Kolibri OS

Rev

Rev 1412 | Rev 1870 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1412 Rev 1430
Line 122... Line 122...
122
typedef struct pgprot { pgprotval_t pgprot; } pgprot_t;
122
typedef struct pgprot { pgprotval_t pgprot; } pgprot_t;
Line 123... Line 123...
123
 
123
 
124
struct file {};
124
struct file {};
125
struct vm_area_struct {};
125
struct vm_area_struct {};
-
 
126
struct address_space {};
126
struct address_space {};
127
 
-
 
128
struct device
-
 
129
{
-
 
130
    struct device   *parent;
-
 
131
    void            *driver_data;
-
 
132
};
-
 
133
 
-
 
134
static inline void dev_set_drvdata(struct device *dev, void *data)
-
 
135
{
-
 
136
    dev->driver_data = data;
-
 
137
}
-
 
138
 
-
 
139
static inline void *dev_get_drvdata(struct device *dev)
-
 
140
{
-
 
141
    return dev->driver_data;
Line 127... Line 142...
127
struct device {};        
142
}
128
 
143
 
129
#define preempt_disable()       do { } while (0)
144
#define preempt_disable()       do { } while (0)
130
#define preempt_enable_no_resched() do { } while (0)
145
#define preempt_enable_no_resched() do { } while (0)