diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-05-09 16:08:05 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-05-09 16:10:18 -0700 |
commit | 7e044e056a6aa0dc695db50461d7b326fde15e8b (patch) | |
tree | bc0a26dbd140e54e1cfa9d67ad93ad890f50775f /drivers/input/gameport | |
parent | 6f660f12d703fa23069317f0a64c6b75d08c15c2 (diff) | |
download | kernel_samsung_tuna-7e044e056a6aa0dc695db50461d7b326fde15e8b.zip kernel_samsung_tuna-7e044e056a6aa0dc695db50461d7b326fde15e8b.tar.gz kernel_samsung_tuna-7e044e056a6aa0dc695db50461d7b326fde15e8b.tar.bz2 |
Input: serio - do not use deprecated dev.power.power_state
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport')
-rw-r--r-- | drivers/input/gameport/gameport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c index 0279d69..ac11be0 100644 --- a/drivers/input/gameport/gameport.c +++ b/drivers/input/gameport/gameport.c @@ -723,7 +723,7 @@ int __gameport_register_driver(struct gameport_driver *drv, struct module *owner * Temporarily disable automatic binding because probing * takes long time and we are better off doing it in kgameportd */ - drv->ignore = 1; + drv->ignore = true; error = driver_register(&drv->driver); if (error) { @@ -736,7 +736,7 @@ int __gameport_register_driver(struct gameport_driver *drv, struct module *owner /* * Reset ignore flag and let kgameportd bind the driver to free ports */ - drv->ignore = 0; + drv->ignore = false; error = gameport_queue_event(drv, NULL, GAMEPORT_ATTACH_DRIVER); if (error) { driver_unregister(&drv->driver); @@ -753,7 +753,7 @@ void gameport_unregister_driver(struct gameport_driver *drv) mutex_lock(&gameport_mutex); - drv->ignore = 1; /* so gameport_find_driver ignores it */ + drv->ignore = true; /* so gameport_find_driver ignores it */ gameport_remove_pending_events(drv); start_over: |