Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48517master
parent
e9479e62b0
commit
80bd8f3d09
@ -1,17 +1,19 @@ |
||||
From c7c7bf7fcbacadac7781783de25fe1e13e2a2c35 Mon Sep 17 00:00:00 2001
|
||||
From 352d9e2ee85b43170388599a17cd7b219f270163 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
|
||||
Date: Tue, 16 Jun 2015 12:33:46 +0200
|
||||
Subject: [PATCH v3 3/6] usb: bcma: make helper creating platform dev more
|
||||
generic
|
||||
Date: Sat, 5 Dec 2015 13:15:06 +0100
|
||||
Subject: [PATCH] USB: bcma: make helper creating platform dev more generic
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Having "bool ohci" argument bounded us to two cases only and didn't
|
||||
allow re-using this code for XHCI.
|
||||
Having "bool ohci" argument in bcma_hcd_create_pdev function limited it
|
||||
to support two cases only (OHCI and EHCI) and put too much logic in it.
|
||||
Lets make caller pass all required data. This adds few extra arguments
|
||||
to the function call but will allow us to reuse this code and handle
|
||||
more cases in the future (e.g. add XHCI support).
|
||||
|
||||
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
---
|
||||
drivers/usb/host/bcma-hcd.c | 24 +++++++++++++-----------
|
||||
1 file changed, 13 insertions(+), 11 deletions(-)
|
Loading…
Reference in new issue