GitHub/LineageOS/android_kernel_motorola_exynos9610.git
12 years agoStaging: bcm: Remove typedef for bulkwrmbuffer and call directly.
Kevin McKinney [Thu, 22 Nov 2012 19:48:45 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for bulkwrmbuffer and call directly.

This patch removes typedef for bulkwrmbuffer,
and changes the name of the struct to
bcm_bulk_wrm_buffer. In addition, any calls to
typedefs BULKWRM_BUFFER, or *PBULKWRM_BUFFER
are changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Remove typedef for _FLASH2X_COPY_SECTION and call directly.
Kevin McKinney [Thu, 22 Nov 2012 19:48:44 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for _FLASH2X_COPY_SECTION and call directly.

This patch removes typedef for _FLASH2X_COPY_SECTION,
and changes the name of the struct to
bcm_flash2x_copy_section. In addition, any calls to
typedefs FLASH2X_COPY_SECTION, or *PFLASH2X_COPY_SECTION
are changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Remove typedef for _SECTION_TYPE.
Kevin McKinney [Thu, 22 Nov 2012 19:48:43 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for _SECTION_TYPE.

This patch removes typedef for enum _SECTION_TYPE
because it is not being used.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Remove typedef for _FLASH2X_BITMAP and call directly.
Kevin McKinney [Thu, 22 Nov 2012 19:48:42 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for _FLASH2X_BITMAP and call directly.

This patch removes typedef for _FLASH2X_BITMAP,
and changes the name of the struct to
bcm_flash2x_bitmap. In addition, any calls
to typedefs FLASH2X_BITMAP, or *PFLASH2X_BITMAP
are changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Remove typedef for _ST_TIME_ELAPSED_ and call directly.
Kevin McKinney [Thu, 22 Nov 2012 19:48:41 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for _ST_TIME_ELAPSED_ and call directly.

This patch removes typedef for _ST_TIME_ELAPSED_,
and changes the name of the struct to
bcm_time_elapsed. In addition, any calls
to typedefs ST_TIME_ELAPSED, or *PST_TIME_ELAPSED
are changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Remove typedef for stGPIOMultiInfo and call directly.
Kevin McKinney [Thu, 22 Nov 2012 19:48:40 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for stGPIOMultiInfo and call directly.

This patch removes typedef for stGPIOMultiInfo,
and changes the name of the struct to
bcm_gpio_multi_info. In addition, any calls
to typedefs GPIO_MULTI_INFO, or *PGPIO_MULTI_INFO
are changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Remove typedef for stGPIOMultiMode and call directly.
Kevin McKinney [Thu, 22 Nov 2012 19:48:39 +0000 (14:48 -0500)]
Staging: bcm: Remove typedef for stGPIOMultiMode and call directly.

This patch removes typedef for
stGPIOMultiMode, and changes the name of the
struct to bcm_gpio_multi_mode. In addition,
any calls to typedefs GPIO_MULTI_MODE, or
*PGPIO_MULTI_MODE are changed to call the
struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace UINT with unsigned int in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:38 +0000 (14:48 -0500)]
Staging: bcm: Replace UINT with unsigned int in Ioctl.h

This patch replaces "UINT" with "unsigned
int" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace UINT32 with u32 in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:37 +0000 (14:48 -0500)]
Staging: bcm: Replace UINT32 with u32 in Ioctl.h

This patch replaces "UINT32" with "u32" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace B_UINT32 with u32 in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:36 +0000 (14:48 -0500)]
Staging: bcm: Replace B_UINT32 with u32 in Ioctl.h

This patch replaces "B_UINT32" with "u32" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace ULONG with unsigned long in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:35 +0000 (14:48 -0500)]
Staging: bcm: Replace ULONG with unsigned long in Ioctl.h

This patch replace "ULONG" with "unsigned
long" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace ULONG64 with unsigned long long in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:34 +0000 (14:48 -0500)]
Staging: bcm: Replace ULONG64 with unsigned long long in Ioctl.h

This patch replace "ULONG64" with "unsigned
long long" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace UCHAR with unsigned char in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:33 +0000 (14:48 -0500)]
Staging: bcm: Replace UCHAR with unsigned char in Ioctl.h

This patch replace "UCHAR" with "unsigned
char" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Replace __attribute__((packed)) with __packed in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:32 +0000 (14:48 -0500)]
Staging: bcm: Replace __attribute__((packed)) with __packed in Ioctl.h

This patch fixes the following warning as
reported by checkpath.pl, "WARNING:__packed
is preferred over __attribute__((packed))".

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Properly format braces in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:31 +0000 (14:48 -0500)]
Staging: bcm: Properly format braces in Ioctl.h

This patch formats braces in Ioctl.h as
reported by checkpath.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Properly format and remove comments as needed in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:30 +0000 (14:48 -0500)]
Staging: bcm: Properly format and remove comments as needed in Ioctl.h

This patch formats all comments and removes
them as needed.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: bcm: Fix all white space issues in Ioctl.h
Kevin McKinney [Thu, 22 Nov 2012 19:48:29 +0000 (14:48 -0500)]
Staging: bcm: Fix all white space issues in Ioctl.h

This patch fixes all white space issues
in Ioctl.h as reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Android: logger: module_exit implementation
Luca Clementi [Thu, 22 Nov 2012 03:43:17 +0000 (19:43 -0800)]
Staging: Android: logger: module_exit implementation

This patch creates the module_exit for the android logger
so that it can be loaded and unloaded as a module.

The android logger is already declared as a tristate in the
Kconfig but the module_exit function was missing.

device_initcall works also with modprobe since include/linux/init.h:

 #define module_init(x)  __initcall(x);
 ...
 #define __initcall(fn) device_initcall(fn)

Tested against f4a75d2eb7b1e2206094b901be09adb31ba63681 Linux 3.7-rc6

Signed-off-by: Luca Clementi <luca.clementi@gmail.com>
Cc: Brian Swetland <swetland@google.com>
Cc: Robert Love <rlove@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/rtl8187se: Use dev_ or pr_ printks in r8180_core.c
YAMANE Toshiaki [Thu, 22 Nov 2012 00:07:04 +0000 (09:07 +0900)]
staging/rtl8187se: Use dev_ or pr_ printks in r8180_core.c

The following warnings fixed.
- WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(...  to printk(KERN_ERR ...
- WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...
- WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev, ... then pr_warn(...  to printk(KERN_WARNING ...

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/rtl8187se: Fix spacing coding style in r8180_core.c
YAMANE Toshiaki [Thu, 22 Nov 2012 00:06:50 +0000 (09:06 +0900)]
staging/rtl8187se: Fix spacing coding style in r8180_core.c

The following errors fixed.
-ERROR: "foo * bar" should be "foo *bar"
-ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/rtl8187se: Remove an unnecessary line continuation in r8180_core.c
YAMANE Toshiaki [Thu, 22 Nov 2012 00:06:37 +0000 (09:06 +0900)]
staging/rtl8187se: Remove an unnecessary line continuation in r8180_core.c

The following warnings fixed.
- WARNING: Avoid unnecessary line continuations

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/rtl8187se: Remove the unnecessary initialization of a local variable in r8180...
YAMANE Toshiaki [Thu, 22 Nov 2012 00:05:53 +0000 (09:05 +0900)]
staging/rtl8187se: Remove the unnecessary initialization of a local variable in r8180_core.c

The following errors fixed.
- ERROR: do not initialise statics to 0 or NULL

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: nvec: let nvec select MFD_CORE
Marc Dietrich [Thu, 22 Nov 2012 18:47:28 +0000 (19:47 +0100)]
staging: nvec: let nvec select MFD_CORE

NVEC registers a mfd device and therefore needs to select MFD_CORE.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: solo6x10: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:27:12 +0000 (13:27 -0500)]
staging: solo6x10: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: dt3155v4l: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:27:11 +0000 (13:27 -0500)]
staging: dt3155v4l: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: lirc: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:27:10 +0000 (13:27 -0500)]
staging: lirc: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: dt3155v4l: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:17 +0000 (13:22 -0500)]
staging: dt3155v4l: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: solo6x10: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:16 +0000 (13:22 -0500)]
staging: solo6x10: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: lirc: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:15 +0000 (13:22 -0500)]
staging: lirc: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: lirc: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:53 +0000 (13:20 -0500)]
staging: lirc: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: dt3155v4l: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:52 +0000 (13:20 -0500)]
staging: dt3155v4l: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoipack: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:39 +0000 (13:26 -0500)]
ipack: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoipack: remove use of __devinitconst
Bill Pemberton [Mon, 19 Nov 2012 18:25:25 +0000 (13:25 -0500)]
ipack: remove use of __devinitconst

CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoipack: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:31 +0000 (13:21 -0500)]
ipack: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vt6656: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:58 +0000 (13:26 -0500)]
staging: vt6656: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: crystalhd: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:56 +0000 (13:26 -0500)]
staging: crystalhd: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: xgifb: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:55 +0000 (13:26 -0500)]
staging: xgifb: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vt6655: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:53 +0000 (13:26 -0500)]
staging: vt6655: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vme: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:52 +0000 (13:26 -0500)]
staging: vme: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Martyn Welch <martyn.welch@ge.com>
Cc: Manohar Vanga <manohar.vanga@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: tidspbridge: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:51 +0000 (13:26 -0500)]
staging: tidspbridge: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ste_rmi4: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:50 +0000 (13:26 -0500)]
staging: ste_rmi4: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:49 +0000 (13:26 -0500)]
staging: sm7xxfb: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: slicoss: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:48 +0000 (13:26 -0500)]
staging: slicoss: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sbe-2t3e3: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:47 +0000 (13:26 -0500)]
staging: sbe-2t3e3: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: omap-thermal: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:43 +0000 (13:26 -0500)]
staging: omap-thermal: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: octeon: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:42 +0000 (13:26 -0500)]
staging: octeon: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: net: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:40 +0000 (13:26 -0500)]
staging: net: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: imx-drm: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:38 +0000 (13:26 -0500)]
staging: imx-drm: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sbe-2t3e3: remove use of __devinitdata
Bill Pemberton [Mon, 19 Nov 2012 18:24:46 +0000 (13:24 -0500)]
staging: sbe-2t3e3: remove use of __devinitdata

CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sbe-2t3e3: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:14 +0000 (13:22 -0500)]
staging: sbe-2t3e3: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: omap-thermal: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:13 +0000 (13:22 -0500)]
staging: omap-thermal: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: imx-drm: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:11 +0000 (13:22 -0500)]
staging: imx-drm: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: crystalhd: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:10 +0000 (13:22 -0500)]
staging: crystalhd: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: net: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:09 +0000 (13:22 -0500)]
staging: net: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: octeon: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:06 +0000 (13:22 -0500)]
staging: octeon: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sep: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:03 +0000 (13:22 -0500)]
staging: sep: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: slicoss: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:02 +0000 (13:22 -0500)]
staging: slicoss: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:01 +0000 (13:22 -0500)]
staging: sm7xxfb: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ste_rmi4: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:00 +0000 (13:22 -0500)]
staging: ste_rmi4: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: tidspbridge: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:59 +0000 (13:21 -0500)]
staging: tidspbridge: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vme: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:56 +0000 (13:21 -0500)]
staging: vme: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Martyn Welch <martyn.welch@ge.com>
Cc: Manohar Vanga <manohar.vanga@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vt6656: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:55 +0000 (13:21 -0500)]
staging: vt6656: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vt6655: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:54 +0000 (13:21 -0500)]
staging: vt6655: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: xgifb: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:52 +0000 (13:21 -0500)]
staging: xgifb: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ste_rmi4: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:33 +0000 (13:21 -0500)]
staging: ste_rmi4: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: olpc_dcon: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:32 +0000 (13:21 -0500)]
staging: olpc_dcon: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: xgifb: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:04 +0000 (13:21 -0500)]
staging: xgifb: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: vme: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:03 +0000 (13:21 -0500)]
staging: vme: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Martyn Welch <martyn.welch@ge.com>
Cc: Manohar Vanga <manohar.vanga@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: usbip: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:02 +0000 (13:21 -0500)]
staging: usbip: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Matt Mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: tidspbridge: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:01 +0000 (13:21 -0500)]
staging: tidspbridge: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:00 +0000 (13:21 -0500)]
staging: sm7xxfb: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: slicoss: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:59 +0000 (13:20 -0500)]
staging: slicoss: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: octeon_ethernet: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:57 +0000 (13:20 -0500)]
staging: octeon_ethernet: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: pc300: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:54 +0000 (13:20 -0500)]
staging: pc300: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: drm/imx: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:51 +0000 (13:20 -0500)]
staging: drm/imx: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: crystalhd: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:49 +0000 (13:20 -0500)]
staging: crystalhd: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: csr: remove CONFIG_HOTPLUG ifdefs
Bill Pemberton [Mon, 19 Nov 2012 18:19:22 +0000 (13:19 -0500)]
staging: csr: remove CONFIG_HOTPLUG ifdefs

Remove conditional code based on CONFIG_HOTPLUG being false.  It's
always on now in preparation of it going away as an option.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: iio: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:38 +0000 (13:21 -0500)]
staging: iio: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: iio: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:37 +0000 (13:26 -0500)]
staging: iio: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: iio: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:57 +0000 (13:21 -0500)]
staging: iio: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: nvec: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:41 +0000 (13:26 -0500)]
staging: nvec: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: nvec: remove use of __devinitconst
Bill Pemberton [Mon, 19 Nov 2012 18:25:26 +0000 (13:25 -0500)]
staging: nvec: remove use of __devinitconst

CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: nvec: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:22:07 +0000 (13:22 -0500)]
staging: nvec: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: nvec: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:20:55 +0000 (13:20 -0500)]
staging: nvec: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: sbecrc.c: fixes coding style issue
Johan Meiring [Tue, 20 Nov 2012 17:28:51 +0000 (19:28 +0200)]
staging: cxt1e1: sbecrc.c: fixes coding style issue

This commit sorts out a coding style issue related to spaces between
parentheses and function names.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: sbecrc.c: fixes brace placement
Johan Meiring [Tue, 20 Nov 2012 17:28:50 +0000 (19:28 +0200)]
staging: cxt1e1: sbecrc.c: fixes brace placement

This commit sorts out the incorrect placement of braces in the file.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: sbecrc.c: fixes indentation issues
Johan Meiring [Tue, 20 Nov 2012 17:28:49 +0000 (19:28 +0200)]
staging: cxt1e1: sbecrc.c: fixes indentation issues

This commit converts several instances of space-based indentation
to use tabs instead.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: musycc.c: fixes placement of parentheses
Johan Meiring [Tue, 20 Nov 2012 17:28:48 +0000 (19:28 +0200)]
staging: cxt1e1: musycc.c: fixes placement of parentheses

This commit fixes several incorrect placements of parantheses, as
identified by the checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: musycc.c: fixes brace placement
Johan Meiring [Tue, 20 Nov 2012 17:28:47 +0000 (19:28 +0200)]
staging: cxt1e1: musycc.c: fixes brace placement

This commit fixes incorrect brace placement as reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: musycc.c: uses tabs for indentation
Johan Meiring [Tue, 20 Nov 2012 17:28:46 +0000 (19:28 +0200)]
staging: cxt1e1: musycc.c: uses tabs for indentation

This commit converts several instances of space usage for
indentation to tabs.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: musycc.h: fixes brace placement
Johan Meiring [Tue, 20 Nov 2012 17:28:45 +0000 (19:28 +0200)]
staging: cxt1e1: musycc.h: fixes brace placement

This commit fixes incorrect brace placement.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: musycc.h: fixes coding style issues
Johan Meiring [Tue, 20 Nov 2012 17:28:44 +0000 (19:28 +0200)]
staging: cxt1e1: musycc.h: fixes coding style issues

This commit fixes instances of spaces being used for indentation
instead of tabs.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: cxt1e1: musycc.h: fixes indentation issues
Johan Meiring [Tue, 20 Nov 2012 17:28:43 +0000 (19:28 +0200)]
staging: cxt1e1: musycc.h: fixes indentation issues

This commit fixes indentation issues that were reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: drm/imx: Remove duplicate inclusion of linux/videodev2.h
Sachin Kamat [Tue, 20 Nov 2012 08:37:16 +0000 (14:07 +0530)]
staging: drm/imx: Remove duplicate inclusion of linux/videodev2.h

linux/videodev2.h was included twice.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:36 +0000 (13:26 -0500)]
staging: comedi: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: remove use of __devinit
Bill Pemberton [Mon, 19 Nov 2012 18:21:58 +0000 (13:21 -0500)]
staging: comedi: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: remove use of __devexit_p
Bill Pemberton [Mon, 19 Nov 2012 18:21:37 +0000 (13:21 -0500)]
staging: comedi: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: me_daq: remove broken workaround for PLX bug
Ian Abbott [Tue, 20 Nov 2012 11:08:56 +0000 (11:08 +0000)]
staging: comedi: me_daq: remove broken workaround for PLX bug

The PLX PCI 9050 interface chip has a bug where its local configuration
registers accessible through PCI BAR 0 and/or PCI BAR 1 (depending on
settings loaded from a serial EEPROM or local bus processor) are
unreadable (always read 0 instead of the true register values) if the
base address starts on an odd multiple of 0x80 (i.e.  has bit 7 set to
1).

The "me_daq" driver attempts to work around this by writing to the PCI
config space to swap the addresses assigned to PCI BAR 0 and PCI BAR 5
(which has been initially configured by serial EEPROM load as a spare
region of the same length as the PCI BAR 0 region).  (If the PCI BAR 5
region is absent, it attempts to reduce the PCI BAR 0 address by 0x80,
which is likely to cause havoc for some other device, but that case
shouldn't be reachable in practice.)

The workaround in the driver is ineffective because it has already
ioremapped the memory from `pci_resource_start(pcidev, 0)` *before* it
does the workaround, so after swapping PCI BAR 0 and PCI BAR 5, this
memory will end up accessing whatever onboard registers PCI BAR 5 was
linked to instead of the local configuration registers.  It also leaves
the addresses in the physical PCI BAR registers set differently to the
resource start addresses recorded in the `struct pci_dev`.

The workaround could be fixed by ioremapping `pci_resource_start(pcidev,
5)` if the PCI BAR addresses were physically swapped (and the fallback
workaround of subtracting 0x80 from the base address should really be
removed altogether).  However, it's not really worth it.  This sort of
thing should be worked around in "drivers/pci/quirks.c" by ensuring that
PCI BAR 0 and/or PCI BAR 1 do not end up on an odd multiple of 0x80
bytes.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rtl8192u: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:46 +0000 (13:26 -0500)]
staging: rtl8192u: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rtl8192e: remove use of __devexit
Bill Pemberton [Mon, 19 Nov 2012 18:26:45 +0000 (13:26 -0500)]
staging: rtl8192e: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>