X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fdevice.h;h=4bb694c6737a794a5ff5679ca9242a38be369a98;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=49d3865aa27b3ac1721e858aba569ee74a55bb38;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/linux/device.h b/include/linux/device.h index 49d3865aa..4bb694c67 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -59,7 +59,6 @@ struct bus_type { struct driver_attribute * drv_attrs; int (*match)(struct device * dev, struct device_driver * drv); - struct device * (*add) (struct device * parent, char * bus_id); int (*hotplug) (struct device *dev, char **envp, int num_envp, char *buffer, int buffer_size); int (*suspend)(struct device * dev, u32 state); @@ -285,6 +284,9 @@ struct device { struct list_head dma_pools; /* dma pools (if dma'ble) */ + struct dma_coherent_mem *dma_mem; /* internal for coherent mem + override */ + void (*release)(struct device * dev); };