Last change
on this file since 245 was 245, checked in by Brendan Oakley, 18 years ago |
Add a start on linux/pnp.h, just enough to compile ReSync 0.9.3
|
-
Property svn:eol-style
set to
native
|
File size:
526 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Linux Plug and Play Support Emulation for OS/2
|
---|
3 | * This file is part of Uniaud32
|
---|
4 | * Copyright Netlabs
|
---|
5 | * Based on code taken from pnp.h in Linux 2.6.22
|
---|
6 | * Copyright by Adam Belay <ambx1@neo.rr.com>
|
---|
7 | *
|
---|
8 | */
|
---|
9 |
|
---|
10 | #ifndef _LINUX_PNP_H
|
---|
11 | #define _LINUX_PNP_H
|
---|
12 |
|
---|
13 | struct pnp_card_link {
|
---|
14 | struct pnp_card * card;
|
---|
15 | struct pnp_card_driver * driver;
|
---|
16 | void * driver_data;
|
---|
17 | pm_message_t pm_state;
|
---|
18 | };
|
---|
19 |
|
---|
20 | static inline void pnp_set_card_drvdata (struct pnp_card_link *pcard, void *data)
|
---|
21 | {
|
---|
22 | pcard->driver_data = data;
|
---|
23 | }
|
---|
24 |
|
---|
25 | #endif /* _LINUX_PNP_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.