bcma: don't hardcode SPROM length
authorRafał Miłecki <zajec5@gmail.com>
Mon, 13 May 2013 20:07:51 +0000 (22:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 May 2013 19:08:40 +0000 (15:08 -0400)
commit5179ed7c1bc1d4599f9643f9711c090648602f4b
treeaa1544226359dc29b3c907a6c3431fb21e938b02
parent224c9c2366efe7f32496c1b7ef82f9b6424817dd
bcma: don't hardcode SPROM length

Pass it as an argument to all functions. This is requires as newer SPROM
revisions have different lengths.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/sprom.c