Re: [PATCH] wifi: b43: Constify struct lpphy_tx_gain_table_entry
Christophe JAILLET <[email protected]> Sun, 4 Aug 2024 08:27:15 +0200
| Newsgroups | org.infradead.lists.b43-dev,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
Le 17/07/2024 à 19:57, Michael Büsch a écrit : > On Tue, 16 Jul 2024 22:21:13 +0200 > Christophe JAILLET <[email protected]> wrote: > >> static void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset, >> - struct lpphy_tx_gain_table_entry data) >> + const struct lpphy_tx_gain_table_entry data) >> { >> u32 tmp; >> >> @@ -2356,7 +2356,7 @@ static void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset, >> } >> >> static void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset, >> - struct lpphy_tx_gain_table_entry data) >> + const struct lpphy_tx_gain_table_entry data) >> { >> u32 tmp; >> >> @@ -2383,7 +2383,7 @@ static void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset, >> } >> >> void lpphy_write_gain_table(struct b43_wldev *dev, int offset, >> - struct lpphy_tx_gain_table_entry data) >> + const struct lpphy_tx_gain_table_entry data) >> { >> if (dev->phy.rev >= 2) >> lpphy_rev2plus_write_gain_table(dev, offset, data); >> @@ -2392,7 +2392,7 @@ void lpphy_write_gain_table(struct b43_wldev *dev, int offset, >> } > > These three changes look like they are not necessary. > Correct. I'll send a v2. CJ _______________________________________________ b43-dev mailing list [email protected] http://lists.infradead.org/mailman/listinfo/b43-dev