ewrk3: silence GCC warning
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 26 Nov 2012 23:47:17 +0000 (23:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2012 16:35:07 +0000 (11:35 -0500)
commita80e27573726d04d7046ee8601ca2795e6963840
tree2fa73154d2a812d4af0f63634f6b1ea9953c851d
parentf81d3af99016dd5e9b3b72be17b9b52ed0481ddf
ewrk3: silence GCC warning

Building ewrk3.o triggers this GCC warning:
    drivers/net/ethernet/dec/ewrk3.c: In function '__check_irq':
    drivers/net/ethernet/dec/ewrk3.c:1915:1: warning: return from incompatible pointer type [enabled by default]

This can be trivially fixed by changing the 'irq' parameter from int to
byte (which is an alias for unsigned char for module parameters).

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/ewrk3.c