summaryrefslogtreecommitdiff
path: root/lib/ts_bm.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-01-06 03:06:02 +0300
committerDavid S. Miller <davem@davemloft.net>2009-01-06 03:06:02 +0300
commit48e4cc777c091b037acaf39036a77ece43fe1ab9 (patch)
tree339831eed5702871dd5502cbd7f3fef4799b397a /lib/ts_bm.c
parentc276e098d3ee33059b4a1c747354226cec58487c (diff)
downloadlinux-48e4cc777c091b037acaf39036a77ece43fe1ab9.tar.xz
net/ehea: bitops work on unsigned longs
The flags field of struct ehea_port is only used with test_bit(), clear_bit() and set_bit() and these interfaces only work on "unsigned long"s, so change the field to be an "unsigned long". Also, this field only has two bits defined for it (0 and 1) so will still be fine if someone builds this driver for a 32 bit arch (at least as far as this flags field is concerned). Also note that ehea_driver_flags is only used in ehca_main.c, so make it static in there. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions