Skip to content

Commit

Permalink
[DVB] cinergyT2: cinergyt2_register_rc() should return 0 on success
Browse files Browse the repository at this point in the history
Currently, the version when ENABLE_RC is defined, falls through
to the end of the function without returning anything.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Nov 16, 2005
1 parent 574780d commit 7b5603e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/dvb/cinergyT2/cinergyT2.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,8 @@ static int cinergyt2_register_rc(struct cinergyt2 *cinergyt2)

input_register_device(cinergyt2->rc_input_dev);
schedule_delayed_work(&cinergyt2->rc_query_work, HZ/2);

return 0;
}

static void cinergyt2_unregister_rc(struct cinergyt2 *cinergyt2)
Expand Down

0 comments on commit 7b5603e

Please sign in to comment.