summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* staging: rtl8192e: unused Remove dot11PowerSaveMode and RT_PS_MODEMike McCormack2011-03-072-10/+0
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Move card specific structures out of ieee80211 library headerMike McCormack2011-03-072-80/+74
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Delete unused members from struct r8192_privMike McCormack2011-03-073-55/+0
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Delete non-existing function declarationsMike McCormack2011-03-071-6/+0
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Delete unused dm_change_dynamic_initgain_threshMike McCormack2011-03-072-72/+0
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Pass r8192_priv to MgntActSet_RF_StateMike McCormack2011-03-075-21/+15
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Pass r8192_priv around instead of net_deviceMike McCormack2011-03-075-215/+143
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove redundant function declarationsMike McCormack2011-03-071-32/+1
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Pass r8192_priv around instead of net_deviceMike McCormack2011-03-073-101/+82
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Convert more functions to use r8192_privMike McCormack2011-03-074-88/+56
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Pass r8192e_priv to phy functionsMike McCormack2011-03-076-283/+256
| | | | | | | Phy functions shouldn't be associated with net_device. Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Pass r8192_priv to eprom_readMike McCormack2011-03-073-14/+13
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Move PowerSaveControl to r8192e_privMike McCormack2011-03-075-17/+18
| | | | | | | | This variable is not used by the ieee80211 library, so move it rtl8192e's private struct. Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Move variables to ieee80211 structMike McCormack2011-03-073-17/+16
| | | | | | | | Move variables only accessed by the RTL ieee80211 library into its private struct. Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Move definition of RT_RF_CHANGE_SOURCEMike McCormack2011-03-072-7/+7
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Move RfOffReason to r8192e_priv structMike McCormack2011-03-075-24/+24
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Move eRFPowerState to r8192e_priv structMike McCormack2011-03-077-31/+21
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove pointless hw_sleep_wqMike McCormack2011-03-072-14/+1
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove unnecessary ps_lockMike McCormack2011-03-073-11/+2
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Use single spinlock in MgntActSet_RF_StateMike McCormack2011-03-073-64/+2
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove SetRFPowerStateMike McCormack2011-03-071-33/+7
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove SetRFPowerStateInProgressMike McCormack2011-03-073-8/+0
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Add a spinlock around SetRFPowerState8190Mike McCormack2011-03-071-4/+9
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: gma500: fix build errorsMarek Belisko2011-03-071-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will fix following compilation error: drivers/staging/gma500/psb_drv.c:1635: error: unknown field ‘pci_driver’ specified in initializer drivers/staging/gma500/psb_drv.c:1636: error: unknown field ‘name’ specified in initializer drivers/staging/gma500/psb_drv.c:1636: warning: initialization from incompatible pointer type drivers/staging/gma500/psb_drv.c:1637: error: unknown field ‘id_table’ specified in initializer drivers/staging/gma500/psb_drv.c:1637: warning: excess elements in union initializer drivers/staging/gma500/psb_drv.c:1637: warning: (near initialization for ‘driver.kdriver’) drivers/staging/gma500/psb_drv.c:1638: error: unknown field ‘resume’ specified in initializer drivers/staging/gma500/psb_drv.c:1638: warning: excess elements in union initializer drivers/staging/gma500/psb_drv.c:1638: warning: (near initialization for ‘driver.kdriver’) drivers/staging/gma500/psb_drv.c:1639: error: unknown field ‘suspend’ specified in initializer drivers/staging/gma500/psb_drv.c:1639: warning: excess elements in union initializer drivers/staging/gma500/psb_drv.c:1639: warning: (near initialization for ‘driver.kdriver’) drivers/staging/gma500/psb_drv.c:1640: error: unknown field ‘probe’ specified in initializer drivers/staging/gma500/psb_drv.c:1640: warning: excess elements in union initializer drivers/staging/gma500/psb_drv.c:1640: warning: (near initialization for ‘driver.kdriver’) drivers/staging/gma500/psb_drv.c:1641: error: unknown field ‘remove’ specified in initializer drivers/staging/gma500/psb_drv.c:1641: warning: excess elements in union initializer drivers/staging/gma500/psb_drv.c:1641: warning: (near initialization for ‘driver.kdriver’) drivers/staging/gma500/psb_drv.c:1643: error: unknown field ‘driver’ specified in initializer drivers/staging/gma500/psb_drv.c:1643: warning: excess elements in union initializer drivers/staging/gma500/psb_drv.c:1643: warning: (near initialization for ‘driver.kdriver’) drivers/staging/gma500/psb_drv.c: In function ‘psb_init’: drivers/staging/gma500/psb_drv.c:1664: error: implicit declaration of function ‘drm_init’ drivers/staging/gma500/psb_drv.c: In function ‘psb_exit’: drivers/staging/gma500/psb_drv.c:1669: error: implicit declaration of function ‘drm_exit’ Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: gma500: Resync the patch queue with GregKH's space cleanup.Alan Cox2011-03-079-772/+365
| | | | | | | | | | | | Remove all sorts of bits we can get rid of. We are now a very simple KMS driver relying on the stolen memory for our framebuffer base (which is for the moment hardcoded). To support multiple frame buffers and some accel bits we will need some kind of memory allocator, possibly a minimal use of GEM. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: keucr: use kernel byteorder functionsJonathan Neuschäfer2011-03-073-26/+15
| | | | | | Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Jack Stone <jwjstone@fastmail.fm> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: keucr: remove unused typedef VOIDJonathan Neuschäfer2011-03-071-1/+0
| | | | | Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging/easycap: convert comparison to NULL into booleanTomas Winkler2011-03-076-196/+196
| | | | | | | | | convert if (NULL != ptr) to if (ptr) convert if (NULL == ptr) to if (!ptr) Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging/easycap: replace if(false == var) with if (!var)Tomas Winkler2011-03-073-17/+17
| | | | | | | | 's/(false == \([^ ]\+\))/(!\1)/g' Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging/easycap: replace if(true == var) with if (var)Tomas Winkler2011-03-075-69/+69
| | | | | | | | 's/(true == \([^ ]\+\))/(\1)/g' Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging/easycap: more style fixing in easycap_main.cTomas Winkler2011-03-071-76/+57
| | | | | | | | mostly indentation fixes and some line over 80 characters fixes Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: remove private ioctlsAaro Koskinen2011-03-073-259/+0
| | | | | | | | | Drop the badly defined and broken private ioctl interface. Since the driver is in staging, and some of the ioctls are clearly unsafe or not even working, it's unlikely that there are any users. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: lirc: fix for "lirc_dev: lirc_register_driver: driver pointer must ↵Thomas Viehweger2011-03-071-4/+68
| | | | | | | | | be not NULL!" Unable to load the module lirc_parallel without the attached patch. Signed-off-by: Thomas Viehweger <patchesThomas.Vie@web.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: remove unneeded function forward declarationGreg Kroah-Hartman2011-03-021-3/+0
| | | | | | | | | | When the code moved around earlier, this function declaration should have been removed but it wasn't. Resolve that. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix up guid variable nameGreg Kroah-Hartman2011-03-021-2/+2
| | | | | | | | | It wasn't a global either, yet it was called one for some reason... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: get rid of hungarian notation for name of the moduleGreg Kroah-Hartman2011-03-021-5/+2
| | | | | | | | | | And, it's not even a global, so the original creator got the Hungarian notation wrong! {sigh} Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix up camelcase fields in struct mousevsc_prt_msgGreg Kroah-Hartman2011-03-021-10/+10
| | | | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix up camelcase usage in struct pipe_prt_msgGreg Kroah-Hartman2011-03-021-4/+4
| | | | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix up pipe size field nameGreg Kroah-Hartman2011-03-021-7/+9
| | | | | | | | | Make it not camelcase. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix up camelcase use for enum pipe_prot_msg_type in ↵Greg Kroah-Hartman2011-03-021-6/+6
| | | | | | | | | | | structures It's a type, so call it that. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: use an anonymous union for struct mousevsc_prt_msgGreg Kroah-Hartman2011-03-021-8/+8
| | | | | | | | | | Much nicer than having an ugly 'u.' in the structure usage, welcome to the 2000's... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: clean up camelcase in struct synthhid_input_reportGreg Kroah-Hartman2011-03-021-2/+2
| | | | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix camelcase in struct synthhid_device_info_ackGreg Kroah-Hartman2011-03-021-2/+2
| | | | | | | | | | | Just one field to fix up, s/Reserved/reserved/g Odd that we have to set the reserved field to 0 when we send the message, that would imply that it really isn't "reserved"... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: use a real struct hid_descriptorGreg Kroah-Hartman2011-03-021-2/+2
| | | | | | | | | | | The data coming from the vmbus is really a hid descriptor, so use that structure instead of having to mess around with a character array and pointer fun. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: clean up camelcase when using struct hv_input_dev_infoGreg Kroah-Hartman2011-03-021-9/+9
| | | | | | | | | | I think there's a callback we can remove that uses this variable in the future as well, but that's for another patch... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: clean up camelcase in struct synthhid_protocol_responseGreg Kroah-Hartman2011-03-021-2/+2
| | | | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: clean up version structure usageGreg Kroah-Hartman2011-03-021-13/+11
| | | | | | | | | | Turns out no one uses the major or minor fields, but hey, we'll keep them around just to make people feel happy... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: change camelcase for struct synthhid_msgGreg Kroah-Hartman2011-03-021-1/+1
| | | | | | | | | | | | Turns out no one references the data field of this structure, so I wonder if it's really even needed at all. All this is used for is the type of the message here, so this structure might be able to be dropped entirely in the future. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix build warningGreg Kroah-Hartman2011-03-021-1/+1
| | | | | | | | | | | | | The trans_id variable (u64) was being incorrectly cast to a unsigned long * when it should have just been unsigned long. Fun with pointers, what a fricken mess, we need some real type safety for these types of fields somehow... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: hv_mouse: fix camelcase use of struct synthhid_msg_hdrGreg Kroah-Hartman2011-03-021-13/+13
| | | | | | | | | s/Header/header/g for this structure when it is used in the file. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>