Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104190
b: refs/heads/master
c: 3e582db
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed May 16, 2008
1 parent ab01623 commit af88654
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ff98147847de3d27d7aa174d58467d21fe372aa
refs/heads/master: 3e582db0783872a645f5236ef142be6579b300ad
22 changes: 0 additions & 22 deletions trunk/drivers/input/gameport/gameport.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ EXPORT_SYMBOL(__gameport_register_driver);
EXPORT_SYMBOL(gameport_unregister_driver);
EXPORT_SYMBOL(gameport_open);
EXPORT_SYMBOL(gameport_close);
EXPORT_SYMBOL(gameport_rescan);
EXPORT_SYMBOL(gameport_set_phys);
EXPORT_SYMBOL(gameport_start_polling);
EXPORT_SYMBOL(gameport_stop_polling);
Expand Down Expand Up @@ -230,8 +229,6 @@ static void gameport_find_driver(struct gameport *gameport)
*/

enum gameport_event_type {
GAMEPORT_RESCAN,
GAMEPORT_RECONNECT,
GAMEPORT_REGISTER_PORT,
GAMEPORT_REGISTER_DRIVER,
};
Expand Down Expand Up @@ -365,15 +362,6 @@ static void gameport_handle_event(void)
gameport_add_port(event->object);
break;

case GAMEPORT_RECONNECT:
gameport_reconnect_port(event->object);
break;

case GAMEPORT_RESCAN:
gameport_disconnect_port(event->object);
gameport_find_driver(event->object);
break;

case GAMEPORT_REGISTER_DRIVER:
gameport_add_driver(event->object);
break;
Expand Down Expand Up @@ -651,16 +639,6 @@ static void gameport_disconnect_port(struct gameport *gameport)
device_release_driver(&gameport->dev);
}

void gameport_rescan(struct gameport *gameport)
{
gameport_queue_event(gameport, NULL, GAMEPORT_RESCAN);
}

void gameport_reconnect(struct gameport *gameport)
{
gameport_queue_event(gameport, NULL, GAMEPORT_RECONNECT);
}

/*
* Submits register request to kgameportd for subsequent execution.
* Note that port registration is always asynchronous.
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/gameport.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ struct gameport_driver {

int gameport_open(struct gameport *gameport, struct gameport_driver *drv, int mode);
void gameport_close(struct gameport *gameport);
void gameport_rescan(struct gameport *gameport);

#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))

Expand Down

0 comments on commit af88654

Please sign in to comment.