diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 20:28:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 20:28:10 -0400 |
commit | 4c5811bf463b0ef82fabbd1708f8bb2d753aeb18 (patch) | |
tree | ff37d31217c3804ca05de21a55a9b5ca1ca818b2 /drivers/usb/host/ehci-xilinx-of.c | |
parent | f74b9444192c60603020c61d7915b72893137edc (diff) | |
parent | 9f15444fefdb33509132ff5c9be60cb315c44cb2 (diff) |
Merge branch 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6
* 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6: (21 commits)
tty: serial: altera_jtaguart: Add device tree support
tty: serial: altera_uart: Add devicetree support
dt: eliminate of_platform_driver shim code
dt: Eliminate of_platform_{,un}register_driver
dt/serial: Eliminate users of of_platform_{,un}register_driver
dt/usb: Eliminate users of of_platform_{,un}register_driver
dt/video: Eliminate users of of_platform_{,un}register_driver
dt/net: Eliminate users of of_platform_{,un}register_driver
dt/sound: Eliminate users of of_platform_{,un}register_driver
dt/spi: Eliminate users of of_platform_{,un}register_driver
dt: uartlite: merge platform and of_platform driver bindings
dt: xilinx_hwicap: merge platform and of_platform driver bindings
ipmi: convert OF driver to platform driver
leds/leds-gpio: merge platform_driver with of_platform_driver
dt/sparc: Eliminate users of of_platform_{,un}register_driver
dt/powerpc: Eliminate users of of_platform_{,un}register_driver
dt/powerpc: move of_bus_type infrastructure to ibmebus
drivercore/dt: add a match table pointer to struct device
dt: Typo fix.
altera_ps2: Add devicetree support
...
Diffstat (limited to 'drivers/usb/host/ehci-xilinx-of.c')
-rw-r--r-- | drivers/usb/host/ehci-xilinx-of.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c index a6f21b891f68..effc58d7af8b 100644 --- a/drivers/usb/host/ehci-xilinx-of.c +++ b/drivers/usb/host/ehci-xilinx-of.c | |||
@@ -143,15 +143,13 @@ static const struct hc_driver ehci_xilinx_of_hc_driver = { | |||
143 | /** | 143 | /** |
144 | * ehci_hcd_xilinx_of_probe - Probe method for the USB host controller | 144 | * ehci_hcd_xilinx_of_probe - Probe method for the USB host controller |
145 | * @op: pointer to the platform_device bound to the host controller | 145 | * @op: pointer to the platform_device bound to the host controller |
146 | * @match: pointer to of_device_id structure, not used | ||
147 | * | 146 | * |
148 | * This function requests resources and sets up appropriate properties for the | 147 | * This function requests resources and sets up appropriate properties for the |
149 | * host controller. Because the Xilinx USB host controller can be configured | 148 | * host controller. Because the Xilinx USB host controller can be configured |
150 | * as HS only or HS/FS only, it checks the configuration in the device tree | 149 | * as HS only or HS/FS only, it checks the configuration in the device tree |
151 | * entry, and sets an appropriate value for hcd->has_tt. | 150 | * entry, and sets an appropriate value for hcd->has_tt. |
152 | */ | 151 | */ |
153 | static int __devinit | 152 | static int __devinit ehci_hcd_xilinx_of_probe(struct platform_device *op) |
154 | ehci_hcd_xilinx_of_probe(struct platform_device *op, const struct of_device_id *match) | ||
155 | { | 153 | { |
156 | struct device_node *dn = op->dev.of_node; | 154 | struct device_node *dn = op->dev.of_node; |
157 | struct usb_hcd *hcd; | 155 | struct usb_hcd *hcd; |
@@ -289,7 +287,7 @@ static const struct of_device_id ehci_hcd_xilinx_of_match[] = { | |||
289 | }; | 287 | }; |
290 | MODULE_DEVICE_TABLE(of, ehci_hcd_xilinx_of_match); | 288 | MODULE_DEVICE_TABLE(of, ehci_hcd_xilinx_of_match); |
291 | 289 | ||
292 | static struct of_platform_driver ehci_hcd_xilinx_of_driver = { | 290 | static struct platform_driver ehci_hcd_xilinx_of_driver = { |
293 | .probe = ehci_hcd_xilinx_of_probe, | 291 | .probe = ehci_hcd_xilinx_of_probe, |
294 | .remove = ehci_hcd_xilinx_of_remove, | 292 | .remove = ehci_hcd_xilinx_of_remove, |
295 | .shutdown = ehci_hcd_xilinx_of_shutdown, | 293 | .shutdown = ehci_hcd_xilinx_of_shutdown, |