Skip to content

Commit

Permalink
b43: make struct b2056_inittabs_pts const
Browse files Browse the repository at this point in the history
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Hauke Mehrtens authored and John W. Linville committed Apr 1, 2013
1 parent 2d9d238 commit 71d6c1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/b43/radio_2056.c
Original file line number Diff line number Diff line change
Expand Up @@ -2980,7 +2980,7 @@ static const struct b2056_inittab_entry b2056_inittab_rev8_rx[] = {
.rx = prefix##_rx, \
.rx_length = ARRAY_SIZE(prefix##_rx)

static struct b2056_inittabs_pts b2056_inittabs[] = {
static const struct b2056_inittabs_pts b2056_inittabs[] = {
[3] = { INITTABSPTS(b2056_inittab_rev3) },
[4] = { INITTABSPTS(b2056_inittab_rev4) },
[5] = { INITTABSPTS(b2056_inittab_rev5) },
Expand Down Expand Up @@ -9035,7 +9035,7 @@ static void b2056_upload_inittab(struct b43_wldev *dev, bool ghz5,
void b2056_upload_inittabs(struct b43_wldev *dev,
bool ghz5, bool ignore_uploadflag)
{
struct b2056_inittabs_pts *pts;
const struct b2056_inittabs_pts *pts;

if (dev->phy.rev >= ARRAY_SIZE(b2056_inittabs)) {
B43_WARN_ON(1);
Expand All @@ -9057,7 +9057,7 @@ void b2056_upload_inittabs(struct b43_wldev *dev,

void b2056_upload_syn_pll_cp2(struct b43_wldev *dev, bool ghz5)
{
struct b2056_inittabs_pts *pts;
const struct b2056_inittabs_pts *pts;
const struct b2056_inittab_entry *e;

if (dev->phy.rev >= ARRAY_SIZE(b2056_inittabs)) {
Expand Down

0 comments on commit 71d6c1b

Please sign in to comment.