mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
13d3e76d99
* use INC_PR
* fix RDEPENDS
* use normal PV
* move checksums from .inc to .bb
* upgrade, because old version fails to build with a lot of errors like this:
compat-wireless-3.5-rc5-1/include/linux/compat-3.5.h:102:8: error: redefinition of 'struct tc_fq_codel_xstats'
* 3.5.4-1, 3.6.8-1 can failed when kernel option is missing:
| compat-wireless-all/3.5.4-r1.0/compat-wireless-3.5.4-1/drivers/net/ethernet/broadcom/b44.c:2342:2:
error: implicit declaration of function 'ssb_pcihost_register' [-Werror=implicit-function-declaration]
| cc1: some warnings being treated as errors
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From fb323acc0b01bcf1ecafb9330c4fbb41cf942139 Mon Sep 17 00:00:00 2001
|
|
From: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
|
|
Date: Wed, 18 Jul 2012 01:01:52 +0200
|
|
Subject: [PATCH] ath5k: fix compilation without CONFIG_PCI
|
|
|
|
Without that fix we have:
|
|
[...]/drivers/net/wireless/ath/ath5k/led.c: In function 'ath5k_init_leds':
|
|
[...]/drivers/net/wireless/ath/ath5k/led.c:179:2: error: implicit declaration of function 'pci_match_id' [-Werror=implicit-function-declaration]
|
|
When CONFIG_PCI is not set.
|
|
|
|
Upstream-Status: Pending: Not submitted yet.
|
|
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
|
|
---
|
|
drivers/net/wireless/ath/ath5k/led.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/ath/ath5k/led.c b/drivers/net/wireless/ath/ath5k/led.c
|
|
index c044476..a4de133 100644
|
|
--- a/drivers/net/wireless/ath/ath5k/led.c
|
|
+++ b/drivers/net/wireless/ath/ath5k/led.c
|
|
@@ -173,7 +173,7 @@ int __devinit ath5k_init_leds(struct ath5k_hw *ah)
|
|
if (!ah->pdev)
|
|
return 0;
|
|
|
|
-#ifdef CONFIG_ATHEROS_AR231X
|
|
+#if defined(CONFIG_ATHEROS_AR231X) || !defined(CONFIG_PCI)
|
|
match = NULL;
|
|
#else
|
|
match = pci_match_id(&ath5k_led_devices[0], pdev);
|
|
--
|
|
1.7.4.1
|
|
|