Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27948
b: refs/heads/master
c: 25478bb
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed Apr 25, 2006
1 parent 5f4eab7 commit 549cf44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 72b9760b65cbe0d24e668c34c8fefb2ba417f14b
refs/heads/master: 25478bb26f2be1504112b764047105811a52c3cb
6 changes: 6 additions & 0 deletions trunk/include/linux/gameport.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* the Free Software Foundation.
*/

#ifdef __KERNEL__
#include <asm/io.h>
#include <linux/list.h>
#include <linux/mutex.h>
Expand Down Expand Up @@ -154,6 +155,8 @@ static inline void gameport_register_driver(struct gameport_driver *drv)

void gameport_unregister_driver(struct gameport_driver *drv);

#endif /* __KERNEL__ */

#define GAMEPORT_MODE_DISABLED 0
#define GAMEPORT_MODE_RAW 1
#define GAMEPORT_MODE_COOKED 2
Expand All @@ -169,6 +172,8 @@ void gameport_unregister_driver(struct gameport_driver *drv);
#define GAMEPORT_ID_VENDOR_GRAVIS 0x0009
#define GAMEPORT_ID_VENDOR_GUILLEMOT 0x000a

#ifdef __KERNEL__

static inline void gameport_trigger(struct gameport *gameport)
{
if (gameport->trigger)
Expand Down Expand Up @@ -219,4 +224,5 @@ static inline void gameport_set_poll_interval(struct gameport *gameport, unsigne
void gameport_start_polling(struct gameport *gameport);
void gameport_stop_polling(struct gameport *gameport);

#endif /* __KERNEL__ */
#endif

0 comments on commit 549cf44

Please sign in to comment.