aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/uwb.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-09-17 11:34:40 -0400
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>2008-09-17 11:54:35 -0400
commitb60066c141997ac2e4ef08459b75638ae86ae781 (patch)
treee7c89b8652a0f0416d0da338c31337991bf57c93 /include/linux/uwb.h
parentb63795fa3a41151040b86119750a7df508d40cda (diff)
uwb: add symlinks in sysfs between radio controllers and PALs
Add a facility for PALs to have symlinks to their radio controller (and vice-versa) and make WUSB host controllers use this. Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'include/linux/uwb.h')
-rw-r--r--include/linux/uwb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/uwb.h b/include/linux/uwb.h
index 0cd35937e120..f9ccbd9a2ced 100644
--- a/include/linux/uwb.h
+++ b/include/linux/uwb.h
@@ -361,6 +361,9 @@ struct uwb_rc {
361 361
362/** 362/**
363 * struct uwb_pal - a UWB PAL 363 * struct uwb_pal - a UWB PAL
364 * @name: descriptive name for this PAL (wushc, wlp, etc.).
365 * @device: a device for the PAL. Used to link the PAL and the radio
366 * controller in sysfs.
364 * @new_rsv: called when a peer requests a reservation (may be NULL if 367 * @new_rsv: called when a peer requests a reservation (may be NULL if
365 * the PAL cannot accept reservation requests). 368 * the PAL cannot accept reservation requests).
366 * 369 *
@@ -379,7 +382,8 @@ struct uwb_rc {
379 */ 382 */
380struct uwb_pal { 383struct uwb_pal {
381 struct list_head node; 384 struct list_head node;
382 385 const char *name;
386 struct device *device;
383 void (*new_rsv)(struct uwb_rsv *rsv); 387 void (*new_rsv)(struct uwb_rsv *rsv);
384}; 388};
385 389