|
@@ -322,6 +322,7 @@ static int __init octeon_ehci_device_init(void)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
pd = of_find_device_by_node(ehci_node);
|
|
pd = of_find_device_by_node(ehci_node);
|
|
|
|
+ of_node_put(ehci_node);
|
|
if (!pd)
|
|
if (!pd)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
@@ -384,6 +385,7 @@ static int __init octeon_ohci_device_init(void)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
pd = of_find_device_by_node(ohci_node);
|
|
pd = of_find_device_by_node(ohci_node);
|
|
|
|
+ of_node_put(ohci_node);
|
|
if (!pd)
|
|
if (!pd)
|
|
return 0;
|
|
return 0;
|
|
|
|
|