brcm80211: smac: use bcma core access functions in otp.c
The code in otp.c now uses the bcma core access functions to read the OTP information from the device. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Alwin Beukers <alwin@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
d3126c52eb
commit
373c78e19d
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "defs.h" /* for PAD macro */
|
||||
|
||||
#define CHIPCREGOFFS(field) offsetof(struct chipcregs, field)
|
||||
|
||||
struct chipcregs {
|
||||
u32 chipid; /* 0x0 */
|
||||
u32 capabilities;
|
||||
|
Reference in New Issue
Block a user