uwb: add symlinks in sysfs between radio controllers and PALs
[linux-2.6.git] / drivers / usb / wusbcore / pal.c
index cc126b444734810855f37ba4a19d8086f336e019..7cc51e9905cf81e2234c0435d88630e9b1f558be 100644 (file)
@@ -26,6 +26,9 @@ int wusbhc_pal_register(struct wusbhc *wusbhc)
 {
        uwb_pal_init(&wusbhc->pal);
 
+       wusbhc->pal.name   = "wusbhc";
+       wusbhc->pal.device = wusbhc->usb_hcd.self.controller;
+
        return uwb_pal_register(wusbhc->uwb_rc, &wusbhc->pal);
 }