|
@@ -391,7 +391,7 @@ static inline void create_companion_file(struct ehci_hcd *ehci)
|
|
|
|
|
|
/* with integrated TT there is no companion! */
|
|
|
if (!ehci_is_TDI(ehci))
|
|
|
- i = device_create_file(ehci_to_hcd(ehci)->self.dev,
|
|
|
+ i = device_create_file(ehci_to_hcd(ehci)->self.controller,
|
|
|
&dev_attr_companion);
|
|
|
}
|
|
|
|
|
@@ -399,7 +399,7 @@ static inline void remove_companion_file(struct ehci_hcd *ehci)
|
|
|
{
|
|
|
/* with integrated TT there is no companion! */
|
|
|
if (!ehci_is_TDI(ehci))
|
|
|
- device_remove_file(ehci_to_hcd(ehci)->self.dev,
|
|
|
+ device_remove_file(ehci_to_hcd(ehci)->self.controller,
|
|
|
&dev_attr_companion);
|
|
|
}
|
|
|
|