profile/ivi/kernel-x86-ivi.git
14 years agostaging: tidspbridge: bind driver name to device name
Omar Ramirez Luna [Thu, 7 Oct 2010 05:45:10 +0000 (00:45 -0500)]
staging: tidspbridge: bind driver name to device name

Since the device name has changed use the new name to
bind the driver to it.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: bug fix - connection status report
nohee ko [Wed, 6 Oct 2010 18:07:13 +0000 (11:07 -0700)]
staging: brcm80211: bug fix - connection status report

Added connection status report for the case connection fails.
Originally this logic was missing.

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: removed duplicated file, linux_osl.c
nohee ko [Wed, 6 Oct 2010 18:56:28 +0000 (11:56 -0700)]
staging: brcm80211: removed duplicated file, linux_osl.c

Removed duplicated file, linux_osl.c from brcmfmac.
linux_osl.c under brcm80211/util/ will be shared
between softmac & fullmac drivers

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFT
Michael Hennerich [Thu, 7 Oct 2010 12:24:33 +0000 (14:24 +0200)]
staging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFT

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: ad799x drop in_precision in favor of new in_type
Michael Hennerich [Thu, 7 Oct 2010 14:14:10 +0000 (16:14 +0200)]
staging: iio: adc: ad799x drop in_precision in favor of new in_type

-drop in_precision in favor of new in_type -
This also fixes the bug from the scan elements move (as a side effect)
-add sign and storagebits to struct ad799x_chip_info
-properly mask the results based on ad799x_chip_info:bits

staging: iio: adc: ad799x misc fixed per iio list review

remove new line
remove storagebits from struct ad799x_chip_info
use defined storagebits value for in_type

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: max1363 fix bug due to scan_element directory move.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:21 +0000 (13:10 +0100)]
staging: iio: max1363 fix bug due to scan_element directory move.

    The device found passed to the attr functions is that of the ring
    buffer, not the the iio_dev so we need to bounce through one more
    hop to get the right address.

Reported-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: sca3000 fix bug due to scan_element directory move.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:20 +0000 (13:10 +0100)]
staging: iio: sca3000 fix bug due to scan_element directory move.

The device found passed to the attr functions is that of the ring
buffer, not the the iio_dev so we need to bounce through one more
hop to get the right address.

Reported-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: timestamp_en naming typo fix.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:19 +0000 (13:10 +0100)]
staging: iio: timestamp_en naming typo fix.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: max1363: remove unused variable
Michael Hennerich [Wed, 6 Oct 2010 15:49:02 +0000 (17:49 +0200)]
staging: iio: adc: max1363: remove unused variable

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0
Michael Hennerich [Thu, 7 Oct 2010 11:27:37 +0000 (13:27 +0200)]
staging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agomisc: ti-st: Kconfig & Makefile for TI_ST
Pavan Savoy [Wed, 6 Oct 2010 16:18:15 +0000 (12:18 -0400)]
misc: ti-st: Kconfig & Makefile for TI_ST

Add the Kconfig and the Makefile for the TI_ST driver.
TI_ST driver is the line discipline driver for the Texas Instrument's
WiLink chipsets.
Also add the ti-st folder to list of drivers under drivers/misc.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti-st: move TI_ST from staging to misc/
Pavan Savoy [Wed, 6 Oct 2010 16:18:14 +0000 (12:18 -0400)]
staging: ti-st: move TI_ST from staging to misc/

move the 3 source files st_core.c, st_kim.c and st_ll.c
from staging to drivers/misc/.

Texas Instrument's WiLink 7 chipset packs wireless technologies like
Bluetooth, FM, GPS and WLAN into a single die.
Among these the Bluetooth, FM Rx/Tx and GPS are interfaced to a apps processor
over a single UART.

This line discipline driver allows various protocol drivers such as Bluetooth
BlueZ driver, FM V4L2 driver and GPS simple character device driver
to communicate with its relevant core in the chip.

Each protocol or technologies use a logical channel to communicate with chip.
Bluetooth uses the HCI-H4 [channels 1-4], FM uses a CH-8 and
GPS a CH-9 protocol. The driver also constitutes the TI HCI-LL Power
Management protocol which use channels 30-33.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: ad799x: Address iio list feedback
Michael Hennerich [Wed, 6 Oct 2010 08:25:49 +0000 (10:25 +0200)]
staging: iio: adc: ad799x: Address iio list feedback

Address feedback from Shubhrajyoti Datta:
Cast return value
Michael Hennerich:
Use i2c_smbus_read_byte_data()
Fix return value check

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: max1363: prevent buffer overflow
Michael Hennerich [Wed, 6 Oct 2010 14:15:37 +0000 (16:15 +0200)]
staging: iio: adc: max1363: prevent buffer overflow

ring->access.read_last() reads the entire datum from
the ring including padding and time stamp.

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: ad799x: prevent buffer overflow
Michael Hennerich [Wed, 6 Oct 2010 14:22:17 +0000 (16:22 +0200)]
staging: iio: adc: ad799x: prevent buffer overflow

ring->access.read_last() reads the entire datum from the ring including padding and time stamp.

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch macro errors.
Jason Cooper [Wed, 6 Oct 2010 14:08:03 +0000 (10:08 -0400)]
staging: brcm80211: fix checkpatch macro errors.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix various checkpatch spacing errors.
Jason Cooper [Wed, 6 Oct 2010 14:08:02 +0000 (10:08 -0400)]
staging: brcm80211: fix various checkpatch spacing errors.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix 'do not init statics to 0 or NULL'
Jason Cooper [Wed, 6 Oct 2010 14:08:01 +0000 (10:08 -0400)]
staging: brcm80211: fix 'do not init statics to 0 or NULL'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix 'do not init globals to 0 or NULL'
Jason Cooper [Wed, 6 Oct 2010 14:08:00 +0000 (10:08 -0400)]
staging: brcm80211: fix 'do not init globals to 0 or NULL'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'
Jason Cooper [Wed, 6 Oct 2010 14:07:59 +0000 (10:07 -0400)]
staging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: the tree is now kept in git, not quilt
Greg Kroah-Hartman [Wed, 6 Oct 2010 15:18:01 +0000 (08:18 -0700)]
Staging: the tree is now kept in git, not quilt

Update the MAINTAINERS file to show the new location of the staging
development tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: west bridge, block driver change for partition support
David Cross [Wed, 6 Oct 2010 01:50:26 +0000 (18:50 -0700)]
staging: west bridge, block driver change for partition support

This patch fixes an error in the block driver wherein multiple
partitions in an mmc card were not detected correctly due to
incorrect alloc_disk arguments.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: west bridge, addition of common lock on cyasdevice
David Cross [Wed, 6 Oct 2010 01:48:08 +0000 (18:48 -0700)]
staging: west bridge, addition of common lock on cyasdevice

This patch adds and initializes a common lock to
cyasdevice module. This is meant to be used in order
to avoid error scenarios where the device module
could be called by both the block and gadget modules
at the same time.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: remove duplicated file, bcmwifi.c
nohee ko [Wed, 6 Oct 2010 02:08:36 +0000 (19:08 -0700)]
staging: brcm80211: remove duplicated file, bcmwifi.c

Remove duplicated file, bcmwifi.c from brcmfmac.
bcmwifi.c under brcm80211/util/ will be shared
between softmac & fullmac drivers

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: west bridge cyasgadget, removal of " " before ";"
David Cross [Wed, 6 Oct 2010 01:44:50 +0000 (18:44 -0700)]
staging: west bridge cyasgadget, removal of " " before ";"

This patch fixes removes all of the the " ;"'s in the west bridge
cyasgadget driver and instead replaces them with ";" only.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - update Kconfig to select IOMMU module
Fernando Guzman Lugo [Wed, 6 Oct 2010 00:20:59 +0000 (19:20 -0500)]
staging: tidspbridge - update Kconfig to select IOMMU module

IOMMU module most be selected when using tidspbridge, because
now tidsbridge depends on iommu module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: bug fix for n_ssids usage and update drv_info
nohee ko [Wed, 6 Oct 2010 01:05:04 +0000 (18:05 -0700)]
staging: brcm80211: bug fix for n_ssids usage and update drv_info

-update drv_info so it's visible in "ethtool -i" output
-remove n_ssids usage. Fixes nullptr deref bug seen before.

Signed-off-by: Grant Grundler <grundler@chromium.org>
Acked-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: bcmutils.[ch]: purge unused funcs
Brett Rudley [Tue, 5 Oct 2010 23:49:47 +0000 (16:49 -0700)]
staging: brcm80211: bcmutils.[ch]: purge unused funcs

Get rid of unused functions in bcmutils.[ch]. Note that bcmutils.h is shared between
fullmac and softmac

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: autofs3: get the TODO file right the third time
Greg Kroah-Hartman [Tue, 5 Oct 2010 23:24:17 +0000 (16:24 -0700)]
staging: autofs3: get the TODO file right the third time

This is what Arnd wanted the file to say.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove dmm custom module
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:44 +0000 (15:35 -0500)]
staging: tidspbridge - remove dmm custom module

Dmm custom module is not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - deprecate reserve/unreserve_memory funtions
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:43 +0000 (15:35 -0500)]
staging: tidspbridge - deprecate reserve/unreserve_memory funtions

Now what iommu memory usage is kept track by iommu module
the functions reserve/unreserve_memory are not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove reserved memory clean up
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:42 +0000 (15:35 -0500)]
staging: tidspbridge - remove reserved memory clean up

Now iommv module keeps track of iommu memory used,
we do not need resource cleanup for reserved
memories anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove dw_dmmu_base from cfg_hostres struct
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:41 +0000 (15:35 -0500)]
staging: tidspbridge: remove dw_dmmu_base from cfg_hostres struct

We don't need to map iva2 iommu register base address
anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - move all iommu related code to a new file
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:40 +0000 (15:35 -0500)]
staging: tidspbridge - move all iommu related code to a new file

Create dsp-mmu module and moves all the iommu code related to
this module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove hw directory
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:39 +0000 (15:35 -0500)]
staging: tidspbridge - remove hw directory

hw directory was only being used for custom iommu implementation
APIs, so after the iommu module migration this directory is not
needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - fix mmufault support
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:38 +0000 (15:35 -0500)]
staging: tidspbridge - fix mmufault support

With changes for iommu migration mmufault report and dsp track
dump is broken, this patch fixes that.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - remove custom mmu code from tiomap3430.c
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:37 +0000 (15:35 -0500)]
staging: tidspbridge - remove custom mmu code from tiomap3430.c

This patch removes all the custom mmu code remaining in
tiomap3430.c which is not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - rename bridge_brd_mem_map/unmap to a proper name
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:36 +0000 (15:35 -0500)]
staging: tidspbridge - rename bridge_brd_mem_map/unmap to a proper name

Now these functions only map user space addresses to dsp virtual
addresses, so now the functions have a more meaningful name.
Also now user_to_dsp_map returns the mapped address.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge - move shared memory iommu maps to tiomap3430.c
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:35 +0000 (15:35 -0500)]
staging: tidspbridge - move shared memory iommu maps to tiomap3430.c

Now iommu maps of shared memory segments are done in
bridge_brd_start and unmaped in bridge_brd_stop.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: sst: Intel SST audio driver
Vinod Koul [Tue, 5 Oct 2010 15:25:17 +0000 (16:25 +0100)]
Staging: sst: Intel SST audio driver

This is the Intel SST audio driver.

As compared to the previous versions it has all the printks and other stuff
noted cleaned up and more hardware support. The Aava support is disabled in
this patch (is_aava resolves to 0) because the Aava board detection logic
is not yet upstream.

The driver itself is a combination of a traditional ALSA driver and a
hardware assisted offload driver which can play audio while the processor
is asleep but which can't do all the more interactive stuff.

In the general case most software would use the ALSA interface, but the
other interface is needed for certain classes of use such as music playback
on highly power consumption sensitive devices.

This is going to staging primarily because it depends upon the staging memrar
driver.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Harsha Priya <priya.harsha@intel.com>
[Merged together and tweaked for -next]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: olpc_dcon: mark the driver as CONFIG_BROKEN for now
Greg Kroah-Hartman [Tue, 5 Oct 2010 19:08:48 +0000 (12:08 -0700)]
Staging: olpc_dcon: mark the driver as CONFIG_BROKEN for now

It doesn't build yet, as it depends on some changes that are not yet
in the tree, so mark it as BROKEN for now until that gets resolved.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: use omap_dsp_platform_data
Felipe Contreras [Mon, 4 Oct 2010 16:09:15 +0000 (19:09 +0300)]
staging: tidspbridge: use omap_dsp_platform_data

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoomap: add dsp platform device
Felipe Contreras [Mon, 4 Oct 2010 16:09:14 +0000 (19:09 +0300)]
omap: add dsp platform device

Otherwise tidspbridge cannot work.

It looks like this was dropped in the conversion to staging. I took the
liberty of doing some cleaning up.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192u: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:02 +0000 (12:38 -0400)]
Staging: rtl8192u: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rt2860: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:56 +0000 (12:37 -0400)]
Staging: rt2860: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: usbip: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:05 +0000 (12:38 -0400)]
Staging: usbip: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dream: qdsp5: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:54 +0000 (12:37 -0400)]
Staging: dream: qdsp5: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: easycap: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:55 +0000 (12:37 -0400)]
Staging: easycap: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rt2870: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:57 +0000 (12:37 -0400)]
Staging: rt2870: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dream: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:52 +0000 (12:37 -0400)]
Staging: dream: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: dream: camera: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:53 +0000 (12:37 -0400)]
Staging: dream: camera: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: cxt1e1: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:51 +0000 (12:37 -0400)]
Staging: cxt1e1: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8187se: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:58 +0000 (12:37 -0400)]
Staging: rtl8187se: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: tm6000: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:04 +0000 (12:38 -0400)]
Staging: tm6000: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:59 +0000 (12:37 -0400)]
Staging: rtl8192e: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192u: ieee80211: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:03 +0000 (12:38 -0400)]
Staging: rtl8192u: ieee80211: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlags49_h25: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:09 +0000 (12:38 -0400)]
Staging: wlags49_h25: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6656: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:07 +0000 (12:38 -0400)]
Staging: vt6656: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vt6655: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:06 +0000 (12:38 -0400)]
Staging: vt6655: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: wlags49_h2: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:38:08 +0000 (12:38 -0400)]
Staging: wlags49_h2: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: cx25821: Makefile: cleaned up Makefile cflag lines
Tracey Dent [Sat, 2 Oct 2010 16:37:50 +0000 (12:37 -0400)]
Staging: cx25821: Makefile: cleaned up Makefile cflag lines

Changed to use the proper ccflags-y option

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: Address mailing list feedback by Jonathan Cameron
Michael Hennerich [Fri, 1 Oct 2010 14:41:52 +0000 (16:41 +0200)]
staging: iio: adc: Address mailing list feedback by Jonathan Cameron

Add missing new line
Fix typo

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: adc: Enable driver support for ad799x AD converters
Michael Hennerich [Fri, 1 Oct 2010 14:41:51 +0000 (16:41 +0200)]
staging: iio: adc: Enable driver support for ad799x AD converters

Driver for ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997 and
ad7998 multichannel ADC.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti-st: mv ti_wilink_st header
Pavan Savoy [Thu, 30 Sep 2010 20:13:30 +0000 (16:13 -0400)]
staging: ti-st: mv ti_wilink_st header

Move the header to a standard linux device driver location.
This should pave the way for other drivers to be moved into the relevant
directories.

ti_wilink_st.h is a common header file used by the TI's shared transport device
driver for WiLink chipsets. Each individual protocol drivers like bluetooth
driver, FM V4L2 driver and GPS drivers will make use of this header.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti-st: drop the __KERNEL__
Pavan Savoy [Thu, 30 Sep 2010 20:13:29 +0000 (16:13 -0400)]
staging: ti-st: drop the __KERNEL__

ti_wilink_st.h had the line discipline number which the user-space
daemon refers to, to install and un-install the line discipline upon
request from the shared transport driver via rfkill device.

On moving this line discipline number to standard location of tty.h
drop the __KERNEL__ flag in the header, since the header file would
no longer be used by user-space.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agotty.h: new ldisc for TI WiLink ST
Pavan Savoy [Thu, 30 Sep 2010 20:13:28 +0000 (16:13 -0400)]
tty.h: new ldisc for TI WiLink ST

Texas Instrument's WiLink7 connectivity devices pack wireless connectivity
technologies like Bluetooth, FM Radio Receiver and Transmitter, GPS and WLAN
into a single die.
The BT, FM and GPS core on the chip are interfaced to application
processors via a single UART.

This line discipline driver allows such different technologies to be used
simultaneous and independent of each other.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: zram: work around oops due to startup ordering snafu
Anton Blanchard [Fri, 1 Oct 2010 21:19:55 +0000 (14:19 -0700)]
Staging: zram: work around oops due to startup ordering snafu

I'm getting an oops when running mkfs on zram:

NIP [d0000000030e0340] .zram_inc_stat+0x58/0x84 [zram]
[c00000006d58f720] [d0000000030e091c] .zram_make_request+0xa8/0x6a0 [zram]
[c00000006d58f840] [c00000000035795c] .generic_make_request+0x390/0x434
[c00000006d58f950] [c000000000357b14] .submit_bio+0x114/0x140
[c00000006d58fa20] [c000000000361778] .blkdev_issue_discard+0x1ac/0x250
[c00000006d58fb10] [c000000000361f68] .blkdev_ioctl+0x358/0x7fc
[c00000006d58fbd0] [c0000000001c1c1c] .block_ioctl+0x6c/0x90
[c00000006d58fc70] [c0000000001984c4] .do_vfs_ioctl+0x660/0x6d4
[c00000006d58fd70] [c0000000001985a0] .SyS_ioctl+0x68/0xb0

Since disksize no longer starts as 0 it looks like we can call
zram_make_request before the device has been initialised. The patch below
fixes the immediate problem but this would go away if we move the
initialisation function elsewhere (as suggested in another thread).

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: spectra: remove duplicated includes
Nicolas Kaiser [Mon, 4 Oct 2010 12:10:45 +0000 (14:10 +0200)]
staging: spectra: remove duplicated includes

Remove duplicated includes.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: lirc: remove duplicated include
Nicolas Kaiser [Mon, 4 Oct 2010 12:08:12 +0000 (14:08 +0200)]
staging: lirc: remove duplicated include

Remove duplicated include.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: remove duplicated include
Nicolas Kaiser [Mon, 4 Oct 2010 12:12:39 +0000 (14:12 +0200)]
staging: tidspbridge: remove duplicated include

Remove duplicated include.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ft1000: fix kernel info leak to userland for statistics
Vasiliy Kulikov [Sun, 3 Oct 2010 17:22:48 +0000 (21:22 +0400)]
staging: ft1000: fix kernel info leak to userland for statistics

get_stat_data is not fully initialized before copy_to_user() call,
e.g. LedStat is not always set.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ft1000: fix error path
Vasiliy Kulikov [Sun, 3 Oct 2010 17:58:46 +0000 (21:58 +0400)]
staging: ft1000: fix error path

init_ft1000_netdev() calls kfree(netdev) instead of free_netdev(netdev).
It doesn't check kmalloc() return value.
ft1000_read_fifo_reg() doesn't free dr on error and calls kfree(urb)
instead of usb_free_urb(urb).  Also kfree(NULL) is OK.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: comedi: file: Removed whitespaces before quoted newlines
Maurice Dawson [Thu, 30 Sep 2010 18:55:18 +0000 (19:55 +0100)]
staging: comedi: file: Removed whitespaces before quoted newlines

Unnecessary whitespaces before quoted newlines

Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: hv: Remove camel case variables in channel.c
Haiyang Zhang [Thu, 30 Sep 2010 17:52:13 +0000 (10:52 -0700)]
staging: hv: Remove camel case variables in channel.c

Rename camel case variables in channel.c and changed them to
lowercase.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: autofs3: fix up TODO
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:30:33 +0000 (11:30 -0700)]
Staging: autofs3: fix up TODO

As per Peter's request, move people to autofs4, don't fix up autofs3.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: bcmdefs.h: remove unused #defines
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:28:57 +0000 (11:28 -0700)]
Staging: brcm80211: bcmdefs.h: remove unused #defines

There were a number of unused and unneeded defines in here, remove them.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove STATIC definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:20:34 +0000 (11:20 -0700)]
Staging: brcm80211: remove STATIC definition

Use 'static', it's the correct thing to do.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove CONST definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:18:31 +0000 (11:18 -0700)]
Staging: brcm80211: remove CONST definition

Use 'const', it's the correct thing to do.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/ulong/unsigned long/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:15:47 +0000 (11:15 -0700)]
Staging: brcm80211: s/ulong/unsigned long/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/ushort/unsigned short/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:11:46 +0000 (11:11 -0700)]
Staging: brcm80211: s/ushort/unsigned short/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/uchar/unsigned char/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:09:48 +0000 (11:09 -0700)]
Staging: brcm80211: s/uchar/unsigned char/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/int8/s8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:04:17 +0000 (11:04 -0700)]
Staging: brcm80211: s/int8/s8/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove uint8 definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:25:05 +0000 (10:25 -0700)]
Staging: brcm80211: typedefs.h: remove uint8 definition

It's no longer needed anywhere, so remove it.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: include: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:23:40 +0000 (10:23 -0700)]
Staging: brcm80211: include: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: phy: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:14:26 +0000 (10:14 -0700)]
Staging: brcm80211: phy: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: brcmfmac: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:11:12 +0000 (10:11 -0700)]
Staging: brcm80211: brcmfmac: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: sys: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:09:00 +0000 (10:09 -0700)]
Staging: brcm80211: sys: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: util: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:02:49 +0000 (10:02 -0700)]
Staging: brcm80211: util: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove NULL definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:58:02 +0000 (09:58 -0700)]
Staging: brcm80211: typedefs.h: remove NULL definition

No need for a driver to define NULL, the core kernel handles that.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unit64 and int64 typedefs
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:56:50 +0000 (09:56 -0700)]
Staging: brcm80211: remove unit64 and int64 typedefs

They are not used anywhere, nor should they be defined.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h move types.h to the top of the file
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:53:41 +0000 (09:53 -0700)]
Staging: brcm80211: typedefs.h move types.h to the top of the file

Include other files from the top, it's easier to unwind the logic that
way.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove version.h inclusion
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:51:42 +0000 (09:51 -0700)]
Staging: brcm80211: typedefs.h: remove version.h inclusion

It isn't needed anymore.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove some unused #if logic
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:50:20 +0000 (09:50 -0700)]
Staging: brcm80211: typedefs.h: remove some unused #if logic

We never care about __STRICT_ANSI__ from within the kernel, so remove
this logic.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove bool redefinition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:48:23 +0000 (09:48 -0700)]
Staging: brcm80211: remove bool redefinition

The core kernel type code handles this properly, no driver
should ever do it.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove redefinition of size_t
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:43:56 +0000 (09:43 -0700)]
Staging: brcm80211: remove redefinition of size_t

No driver should ever do this.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove PTRSZ definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:42:56 +0000 (09:42 -0700)]
Staging: brcm80211: remove PTRSZ definition

It was never used.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove floating point typedefs
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:41:45 +0000 (09:41 -0700)]
Staging: brcm80211: remove floating point typedefs

It's not ever used, so remove the typedef.  Floating point isn't used
in the kernel, so this could never be an issue here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove INLINE definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:40:02 +0000 (09:40 -0700)]
Staging: brcm80211: remove INLINE definition

Use the "real" inline marking for functions.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove UNUSED_PARAMETER macro
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:35:29 +0000 (09:35 -0700)]
Staging: brcm80211: remove UNUSED_PARAMETER macro

It's not needed anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unneeded #ifdef checks
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:31:19 +0000 (09:31 -0700)]
Staging: brcm80211: remove unneeded #ifdef checks

For a .h file, you never need to check it, the .h file does it
itself.  For the typedef.h file, this is never needed.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>