]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/asm-parisc/parisc-device.h
[PARISC] Convert parisc_device tree to use struct device klists
[linux-2.6.git] / include / asm-parisc / parisc-device.h
index ef69ab4b17a99431e578784e22169c3832bd7292..cbde8b41c84b10482670d7c7d7fa78231e582cbc 100644 (file)
@@ -39,6 +39,11 @@ struct parisc_driver {
 #define to_parisc_driver(d)    container_of(d, struct parisc_driver, drv)
 #define parisc_parent(d)       to_parisc_device(d->dev.parent)
 
+static inline char *parisc_pathname(struct parisc_device *d)
+{
+       return d->dev.bus_id;
+}
+
 static inline void
 parisc_set_drvdata(struct parisc_device *d, void *p)
 {