diff options
| -rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 2 | ||||
| -rw-r--r-- | drivers/staging/Kconfig | 18 | ||||
| -rw-r--r-- | drivers/staging/altera-stapl/altera-jtag.c | 2 | ||||
| -rw-r--r-- | drivers/staging/altera-stapl/altera.c | 2 | ||||
| -rw-r--r-- | drivers/staging/altera-stapl/altera.h (renamed from include/staging/altera.h) | 0 | ||||
| -rw-r--r-- | drivers/staging/ath6kl/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/staging/ath6kl/os/linux/cfg80211.c | 3 | ||||
| -rw-r--r-- | drivers/staging/brcm80211/brcmfmac/wl_iw.c | 2 | ||||
| -rw-r--r-- | drivers/staging/gma500/psb_drv.c | 15 | ||||
| -rw-r--r-- | drivers/staging/gma500/psb_fb.c | 10 | ||||
| -rw-r--r-- | drivers/staging/gma500/psb_intel_bios.c | 13 | ||||
| -rw-r--r-- | drivers/staging/iio/dac/max517.c | 2 | ||||
| -rw-r--r-- | drivers/staging/iio/imu/adis16400_ring.c | 10 | ||||
| -rw-r--r-- | drivers/staging/iio/industrialio-trigger.c | 1 | ||||
| -rw-r--r-- | drivers/staging/mei/init.c | 4 | ||||
| -rw-r--r-- | drivers/staging/olpc_dcon/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/staging/rts_pstor/sd.c | 2 | ||||
| -rw-r--r-- | drivers/staging/usbip/stub_dev.c | 21 | ||||
| -rw-r--r-- | drivers/staging/usbip/stub_rx.c | 20 |
19 files changed, 84 insertions, 45 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 2354336862cf..934185cca758 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
| @@ -25,8 +25,8 @@ | |||
| 25 | #include <linux/delay.h> | 25 | #include <linux/delay.h> |
| 26 | #include <media/cx25840.h> | 26 | #include <media/cx25840.h> |
| 27 | #include <linux/firmware.h> | 27 | #include <linux/firmware.h> |
| 28 | #include <staging/altera.h> | ||
| 29 | 28 | ||
| 29 | #include "../../../staging/altera-stapl/altera.h" | ||
| 30 | #include "cx23885.h" | 30 | #include "cx23885.h" |
| 31 | #include "tuner-xc2028.h" | 31 | #include "tuner-xc2028.h" |
| 32 | #include "netup-init.h" | 32 | #include "netup-init.h" |
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index dfc16f955eb8..196284dc2f36 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig | |||
| @@ -24,23 +24,6 @@ menuconfig STAGING | |||
| 24 | 24 | ||
| 25 | if STAGING | 25 | if STAGING |
| 26 | 26 | ||
| 27 | config STAGING_EXCLUDE_BUILD | ||
| 28 | bool "Exclude Staging drivers from being built" if STAGING | ||
| 29 | default y | ||
| 30 | ---help--- | ||
| 31 | Are you sure you really want to build the staging drivers? | ||
| 32 | They taint your kernel, don't live up to the normal Linux | ||
| 33 | kernel quality standards, are a bit crufty around the edges, | ||
| 34 | and might go off and kick your dog when you aren't paying | ||
| 35 | attention. | ||
| 36 | |||
| 37 | Say N here to be able to select and build the Staging drivers. | ||
| 38 | This option is primarily here to prevent them from being built | ||
| 39 | when selecting 'make allyesconfg' and 'make allmodconfig' so | ||
| 40 | don't be all that put off, your dog will be just fine. | ||
| 41 | |||
| 42 | if !STAGING_EXCLUDE_BUILD | ||
| 43 | |||
| 44 | source "drivers/staging/tty/Kconfig" | 27 | source "drivers/staging/tty/Kconfig" |
| 45 | 28 | ||
| 46 | source "drivers/staging/generic_serial/Kconfig" | 29 | source "drivers/staging/generic_serial/Kconfig" |
| @@ -177,5 +160,4 @@ source "drivers/staging/mei/Kconfig" | |||
| 177 | 160 | ||
| 178 | source "drivers/staging/nvec/Kconfig" | 161 | source "drivers/staging/nvec/Kconfig" |
| 179 | 162 | ||
| 180 | endif # !STAGING_EXCLUDE_BUILD | ||
| 181 | endif # STAGING | 163 | endif # STAGING |
diff --git a/drivers/staging/altera-stapl/altera-jtag.c b/drivers/staging/altera-stapl/altera-jtag.c index 876308858b82..8b1620b1b2d0 100644 --- a/drivers/staging/altera-stapl/altera-jtag.c +++ b/drivers/staging/altera-stapl/altera-jtag.c | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
| 27 | #include <linux/firmware.h> | 27 | #include <linux/firmware.h> |
| 28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
| 29 | #include <staging/altera.h> | 29 | #include "altera.h" |
| 30 | #include "altera-exprt.h" | 30 | #include "altera-exprt.h" |
| 31 | #include "altera-jtag.h" | 31 | #include "altera-jtag.h" |
| 32 | 32 | ||
diff --git a/drivers/staging/altera-stapl/altera.c b/drivers/staging/altera-stapl/altera.c index 05aad351b120..9cd5e76880c0 100644 --- a/drivers/staging/altera-stapl/altera.c +++ b/drivers/staging/altera-stapl/altera.c | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | #include <linux/string.h> | 28 | #include <linux/string.h> |
| 29 | #include <linux/firmware.h> | 29 | #include <linux/firmware.h> |
| 30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
| 31 | #include <staging/altera.h> | 31 | #include "altera.h" |
| 32 | #include "altera-exprt.h" | 32 | #include "altera-exprt.h" |
| 33 | #include "altera-jtag.h" | 33 | #include "altera-jtag.h" |
| 34 | 34 | ||
diff --git a/include/staging/altera.h b/drivers/staging/altera-stapl/altera.h index 94c0c6181daf..94c0c6181daf 100644 --- a/include/staging/altera.h +++ b/drivers/staging/altera-stapl/altera.h | |||
diff --git a/drivers/staging/ath6kl/Kconfig b/drivers/staging/ath6kl/Kconfig index 1f15e1fb1ab2..afd6cc16a2b8 100644 --- a/drivers/staging/ath6kl/Kconfig +++ b/drivers/staging/ath6kl/Kconfig | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | config ATH6K_LEGACY | 1 | config ATH6K_LEGACY |
| 2 | tristate "Atheros AR6003 support (non mac80211)" | 2 | tristate "Atheros AR6003 support (non mac80211)" |
| 3 | depends on MMC && WLAN | 3 | depends on MMC && WLAN |
| 4 | depends on CFG80211 | ||
| 4 | select WIRELESS_EXT | 5 | select WIRELESS_EXT |
| 5 | select WEXT_PRIV | 6 | select WEXT_PRIV |
| 6 | help | 7 | help |
diff --git a/drivers/staging/ath6kl/os/linux/cfg80211.c b/drivers/staging/ath6kl/os/linux/cfg80211.c index 77dfb4070c1d..d3a774dbb7e8 100644 --- a/drivers/staging/ath6kl/os/linux/cfg80211.c +++ b/drivers/staging/ath6kl/os/linux/cfg80211.c | |||
| @@ -870,7 +870,8 @@ ar6k_cfg80211_scanComplete_event(struct ar6_softc *ar, int status) | |||
| 870 | if(ar->scan_request) | 870 | if(ar->scan_request) |
| 871 | { | 871 | { |
| 872 | /* Translate data to cfg80211 mgmt format */ | 872 | /* Translate data to cfg80211 mgmt format */ |
| 873 | wmi_iterate_nodes(ar->arWmi, ar6k_cfg80211_scan_node, ar->wdev->wiphy); | 873 | if (ar->arWmi) |
| 874 | wmi_iterate_nodes(ar->arWmi, ar6k_cfg80211_scan_node, ar->wdev->wiphy); | ||
| 874 | 875 | ||
| 875 | cfg80211_scan_done(ar->scan_request, | 876 | cfg80211_scan_done(ar->scan_request, |
| 876 | ((status & A_ECANCELED) || (status & A_EBUSY)) ? true : false); | 877 | ((status & A_ECANCELED) || (status & A_EBUSY)) ? true : false); |
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.c b/drivers/staging/brcm80211/brcmfmac/wl_iw.c index 929ceaf363be..15e1b05ca92d 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_iw.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.c | |||
| @@ -64,8 +64,6 @@ wl_iw_extra_params_t g_wl_iw_params; | |||
| 64 | extern bool wl_iw_conn_status_str(u32 event_type, u32 status, | 64 | extern bool wl_iw_conn_status_str(u32 event_type, u32 status, |
| 65 | u32 reason, char *stringBuf, uint buflen); | 65 | u32 reason, char *stringBuf, uint buflen); |
| 66 | 66 | ||
| 67 | uint wl_msg_level = WL_ERROR_VAL; | ||
| 68 | |||
| 69 | #define MAX_WLIW_IOCTL_LEN 1024 | 67 | #define MAX_WLIW_IOCTL_LEN 1024 |
| 70 | 68 | ||
| 71 | #ifdef CONFIG_WIRELESS_EXT | 69 | #ifdef CONFIG_WIRELESS_EXT |
diff --git a/drivers/staging/gma500/psb_drv.c b/drivers/staging/gma500/psb_drv.c index 1c45c11a774e..aa87b1b6a44a 100644 --- a/drivers/staging/gma500/psb_drv.c +++ b/drivers/staging/gma500/psb_drv.c | |||
| @@ -542,6 +542,8 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset) | |||
| 542 | unsigned long irqflags; | 542 | unsigned long irqflags; |
| 543 | int ret = -ENOMEM; | 543 | int ret = -ENOMEM; |
| 544 | uint32_t tt_pages; | 544 | uint32_t tt_pages; |
| 545 | struct drm_connector *connector; | ||
| 546 | struct psb_intel_output *psb_intel_output; | ||
| 545 | 547 | ||
| 546 | dev_priv = kzalloc(sizeof(*dev_priv), GFP_KERNEL); | 548 | dev_priv = kzalloc(sizeof(*dev_priv), GFP_KERNEL); |
| 547 | if (dev_priv == NULL) | 549 | if (dev_priv == NULL) |
| @@ -663,7 +665,18 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset) | |||
| 663 | drm_kms_helper_poll_init(dev); | 665 | drm_kms_helper_poll_init(dev); |
| 664 | } | 666 | } |
| 665 | 667 | ||
| 666 | ret = psb_backlight_init(dev); | 668 | /* Only add backlight support if we have LVDS output */ |
| 669 | list_for_each_entry(connector, &dev->mode_config.connector_list, | ||
| 670 | head) { | ||
| 671 | psb_intel_output = to_psb_intel_output(connector); | ||
| 672 | |||
| 673 | switch (psb_intel_output->type) { | ||
| 674 | case INTEL_OUTPUT_LVDS: | ||
| 675 | ret = psb_backlight_init(dev); | ||
| 676 | break; | ||
| 677 | } | ||
| 678 | } | ||
| 679 | |||
| 667 | if (ret) | 680 | if (ret) |
| 668 | return ret; | 681 | return ret; |
| 669 | #if 0 | 682 | #if 0 |
diff --git a/drivers/staging/gma500/psb_fb.c b/drivers/staging/gma500/psb_fb.c index 99c03a2e06bd..084c36bbfe86 100644 --- a/drivers/staging/gma500/psb_fb.c +++ b/drivers/staging/gma500/psb_fb.c | |||
| @@ -441,6 +441,16 @@ static int psbfb_create(struct psb_fbdev *fbdev, | |||
| 441 | info->screen_size = size; | 441 | info->screen_size = size; |
| 442 | memset(info->screen_base, 0, size); | 442 | memset(info->screen_base, 0, size); |
| 443 | 443 | ||
| 444 | if (dev_priv->pg->stolen_size) { | ||
| 445 | info->apertures = alloc_apertures(1); | ||
