* [PATCH] staging: brcmsmac, fix build for SMP disabled
@ 2011-08-23 21:56 Randy Dunlap
2011-08-23 22:26 ` Greg KH
2011-08-23 22:29 ` Henry Ptasinski
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-08-23 21:56 UTC (permalink / raw)
To: driverdevel, linux-wireless; +Cc: gregkh, Arend van Spriel
From: Randy Dunlap <rdunlap@xenotime.net>
Fix build when CONFIG_SMP is not enabled.
Fixes many build errors (subset listed here):
drivers/staging/brcm80211/brcmsmac/ampdu.c: In function 'brcms_c_ampdu_dotxstatus':
drivers/staging/brcm80211/brcmsmac/ampdu.c:833: error: implicit declaration of function 'readb'
drivers/staging/brcm80211/brcmsmac/ampdu.c:833: error: implicit declaration of function 'readw'
drivers/staging/brcm80211/brcmsmac/ampdu.c:833: error: implicit declaration of function 'readl'
drivers/staging/brcm80211/brcmsmac/main.c: In function 'brcms_c_init':
drivers/staging/brcm80211/brcmsmac/main.c:494: error: implicit declaration of function 'writeb'
drivers/staging/brcm80211/brcmsmac/main.c:494: error: implicit declaration of function 'writew'
drivers/staging/brcm80211/brcmsmac/main.c:494: error: implicit declaration of function 'writel'
drivers/staging/brcm80211/brcmsmac/main.c:529: error: implicit declaration of function 'readb'
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c: In function 'wlc_radioreg_exit':
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c:208: error: implicit declaration of function 'readb'
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c:208: error: implicit declaration of function 'readw'
drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c: In function 'wlc_lcnphy_idle_tssi_est':
drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c:2080: error: implicit declaration of function 'readb'
drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c: In function 'wlc_lcnphy_samp_cap':
drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c:3837: error: implicit declaration of function 'writeb'
vers/staging/brcm80211/brcmsmac/phy/phy_n.c: In function 'wlc_phy_init_nphy':
drivers/staging/brcm80211/brcmsmac/phy/phy_n.c:14561: error: implicit declaration of function 'readb'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
drivers/staging/brcm80211/brcmsmac/types.h | 1 +
1 file changed, 1 insertion(+)
--- lnx-31-rc3.orig/drivers/staging/brcm80211/brcmsmac/types.h
+++ lnx-31-rc3/drivers/staging/brcm80211/brcmsmac/types.h
@@ -18,6 +18,7 @@
#define _BRCM_TYPES_H_
#include <linux/types.h>
+#include <asm/io.h>
/* Bus types */
#define SI_BUS 0 /* SOC Interconnect */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: brcmsmac, fix build for SMP disabled
2011-08-23 21:56 [PATCH] staging: brcmsmac, fix build for SMP disabled Randy Dunlap
@ 2011-08-23 22:26 ` Greg KH
2011-08-23 22:29 ` Henry Ptasinski
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2011-08-23 22:26 UTC (permalink / raw)
To: Randy Dunlap; +Cc: driverdevel, linux-wireless, gregkh
On Tue, Aug 23, 2011 at 02:56:59PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix build when CONFIG_SMP is not enabled.
> Fixes many build errors (subset listed here):
>
> drivers/staging/brcm80211/brcmsmac/ampdu.c: In function 'brcms_c_ampdu_dotxstatus':
> drivers/staging/brcm80211/brcmsmac/ampdu.c:833: error: implicit declaration of function 'readb'
> drivers/staging/brcm80211/brcmsmac/ampdu.c:833: error: implicit declaration of function 'readw'
> drivers/staging/brcm80211/brcmsmac/ampdu.c:833: error: implicit declaration of function 'readl'
> drivers/staging/brcm80211/brcmsmac/main.c: In function 'brcms_c_init':
> drivers/staging/brcm80211/brcmsmac/main.c:494: error: implicit declaration of function 'writeb'
> drivers/staging/brcm80211/brcmsmac/main.c:494: error: implicit declaration of function 'writew'
> drivers/staging/brcm80211/brcmsmac/main.c:494: error: implicit declaration of function 'writel'
> drivers/staging/brcm80211/brcmsmac/main.c:529: error: implicit declaration of function 'readb'
> drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c: In function 'wlc_radioreg_exit':
> drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c:208: error: implicit declaration of function 'readb'
> drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c:208: error: implicit declaration of function 'readw'
> drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c: In function 'wlc_lcnphy_idle_tssi_est':
> drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c:2080: error: implicit declaration of function 'readb'
> drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c: In function 'wlc_lcnphy_samp_cap':
> drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c:3837: error: implicit declaration of function 'writeb'
> vers/staging/brcm80211/brcmsmac/phy/phy_n.c: In function 'wlc_phy_init_nphy':
> drivers/staging/brcm80211/brcmsmac/phy/phy_n.c:14561: error: implicit declaration of function 'readb'
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
No longer applies as I took a different patch that resolves this a few
hours ago :(
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: brcmsmac, fix build for SMP disabled
2011-08-23 21:56 [PATCH] staging: brcmsmac, fix build for SMP disabled Randy Dunlap
2011-08-23 22:26 ` Greg KH
@ 2011-08-23 22:29 ` Henry Ptasinski
1 sibling, 0 replies; 3+ messages in thread
From: Henry Ptasinski @ 2011-08-23 22:29 UTC (permalink / raw)
To: Randy Dunlap
Cc: driverdevel, linux-wireless@vger.kernel.org, gregkh@suse.de,
Arend Van Spriel, Henry Ptasinski
On Tue, Aug 23, 2011 at 02:56:59PM -0700, Randy Dunlap wrote:
> ---
> drivers/staging/brcm80211/brcmsmac/types.h | 1 +
> 1 file changed, 1 insertion(+)
>
> --- lnx-31-rc3.orig/drivers/staging/brcm80211/brcmsmac/types.h
> +++ lnx-31-rc3/drivers/staging/brcm80211/brcmsmac/types.h
> @@ -18,6 +18,7 @@
> #define _BRCM_TYPES_H_
>
> #include <linux/types.h>
> +#include <asm/io.h>
>
> /* Bus types */
> #define SI_BUS 0 /* SOC Interconnect */
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
I believe this is covered by a patch that Greg merged earlier today (which adds
'#include <linux/io.h>' to types.h).
- Henry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-23 22:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23 21:56 [PATCH] staging: brcmsmac, fix build for SMP disabled Randy Dunlap
2011-08-23 22:26 ` Greg KH
2011-08-23 22:29 ` Henry Ptasinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).