Commit Graph
5 Commits
Author SHA1 Message Date
Sachin Kamat c4c7fb19bb mmc: ushc: Fix incorrect parameter in sizeof
sizeof should be of the parent structure type.

Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2014-02-25 15:42:20 -05:00
Greg Kroah-Hartman fe7484834b USB: convert some miscellanies drivers to use module_usb_driver()
This converts the remaining USB drivers in the kernel to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.

Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.

Cc: Guenter Roeck <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Till Harbaum <[email protected]>
Cc: Karsten Keil <[email protected]>
Cc: Chris Ball <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Lauro Ramos Venancio <[email protected]>
Cc: Aloisio Almeida Jr <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: Steve Glendinning <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Cc: Evgeniy Polyakov <[email protected]>
Cc: Wim Van Sebroeck <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Jesper Juhl <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: Jamie Iles <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-11-18 09:52:10 -08:00
Jesper Juhl 021cb59ae3 mmc: ushc: Remove duplicate include of usb.h
Including usb.h once is enough in drivers/mmc/host/ushc.c
This removes the duplicate.

Signed-off-by: Jesper Juhl <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2011-01-25 21:53:43 -05:00
Axel Lin 14d4031d21 mmc: ushc: Return proper error code for ushc_probe()
Improves error handling in the ushc driver.

Signed-off-by: Axel Lin <[email protected]>
Acked-by: David Vrabel <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2010-11-07 16:45:11 -05:00
David Vrabel 53f3a9e26e mmc: USB SD Host Controller (USHC) driver
Add a driver for USB SD Host Controller devices.  These devices are
Cypress Astoria chips with firmware compliant with issue 2 of CSR's USHC
specification.

[cjb: adapt to block layer deprecation of max_{hw,phys}_segs]
Signed-off-by: David Vrabel <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2010-10-23 21:11:11 +08:00