lkml.org 
[lkml]   [2014]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 1/4] xhci: Introduce xhci_init_driver()
    Hi,

    (2014/08/19 1:12), Andrew Bresticker wrote:
    > Since the struct hc_driver is mostly the same across the xhci-pci,
    > xhci-plat, and the upcoming xhci-tegra driver, introduce the function
    > xhci_init_driver() which will populate the hc_driver with the default
    > xHCI operations. The caller must supply a setup function which will
    > be used as the hc_driver's reset callback.
    >
    > Note that xhci-plat also overrides the default ->start() callback so
    > that it can do rcar-specific initialization.
    >
    > Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
    > ---
    > Changes from v1:
    > - rebased on changes introduced by xhci-rcar driver
    < snip >
    > @@ -300,6 +249,8 @@ MODULE_ALIAS("platform:xhci-hcd");
    >
    > int xhci_register_plat(void)
    > {
    > + xhci_init_driver(&xhci_plat_hc_driver, xhci_plat_setup);
    > + xhci_plat_hc_drver.start = xhci_plat_start;

    Thank you for the care of xhci-rcar driver.
    However, this "xhci_plat_hc_drver" should be "xhci_plat_hc_driver".

    After I modified it by myself, I could build the xhci-plat-hcd.ko in my environment.

    Best regards,
    Yoshihiro Shimoda


    \
     
     \ /
      Last update: 2014-08-19 08:21    [W:2.899 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site