mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
USB: ohci: da8xx: Allow probing from DT
This adds the compatible string to the ohci driver to be able to probe from DT Signed-off-by: Axel Haslam <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
ff8c1bd8cf
commit
190534f64a
1 changed files with 8 additions and 0 deletions
|
|
@ -394,6 +394,13 @@ check_port:
|
|||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
#ifdef CONFIG_OF
|
||||
static const struct of_device_id da8xx_ohci_ids[] = {
|
||||
{ .compatible = "ti,da830-ohci" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, da8xx_ohci_ids);
|
||||
#endif
|
||||
|
||||
static int ohci_da8xx_probe(struct platform_device *pdev)
|
||||
{
|
||||
|
|
@ -546,6 +553,7 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
|
|||
#endif
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.of_match_table = of_match_ptr(da8xx_ohci_ids),
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue