staging: bcm: clean up a type issue in ConfigureEndPointTypesThroughEEPROM()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 9 Jan 2014 05:44:29 +0000 (08:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:35:25 +0000 (10:35 -0800)
commit9fe526e145e281f0fe0447bbef58444bddb5de2b
tree3456cc1f23de799d7ff44f003002d5e965328801
parent4f4112b2cf3775702315cc18eba1e1e50a9e68ae
staging: bcm: clean up a type issue in ConfigureEndPointTypesThroughEEPROM()

We only ever set the highest 4 bytes of ulReg.  This would cause a
problem on big endian systems.  The type should be u32 instead of
unsigned long.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/InterfaceInit.c