forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/drivers/net/wireless/broadcom/b43/lo.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23
34 Broadcom B43 wireless driver
....@@ -10,20 +11,6 @@
1011 Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org>
1112 Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch>
1213
13
- This program is free software; you can redistribute it and/or modify
14
- it under the terms of the GNU General Public License as published by
15
- the Free Software Foundation; either version 2 of the License, or
16
- (at your option) any later version.
17
-
18
- This program is distributed in the hope that it will be useful,
19
- but WITHOUT ANY WARRANTY; without even the implied warranty of
20
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
- GNU General Public License for more details.
22
-
23
- You should have received a copy of the GNU General Public License
24
- along with this program; see the file COPYING. If not, write to
25
- the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
26
- Boston, MA 02110-1301, USA.
2714
2815 */
2916
....@@ -742,7 +729,7 @@
742729 };
743730 int max_rx_gain;
744731 struct b43_lo_calib *cal;
745
- struct lo_g_saved_values uninitialized_var(saved_regs);
732
+ struct lo_g_saved_values saved_regs;
746733 /* Values from the "TXCTL Register and Value Table" */
747734 u16 txctl_reg;
748735 u16 txctl_value;