X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fdriver-model%2Fdriver.txt;h=4421135826a2e5fb8526288afa06473cb2137027;hb=51b550a41c2ac0373b42f4e211f2df113b735b0a;hp=d2cd6fb8ba9efc649eb14cf4af8805ba762f0fe8;hpb=19bc291c99f018bd4f2c38bbf69144086dca903f;p=pandora-kernel.git diff --git a/Documentation/driver-model/driver.txt b/Documentation/driver-model/driver.txt index d2cd6fb8ba9e..4421135826a2 100644 --- a/Documentation/driver-model/driver.txt +++ b/Documentation/driver-model/driver.txt @@ -1,23 +1,7 @@ Device Drivers -struct device_driver { - char * name; - struct bus_type * bus; - - struct completion unloaded; - struct kobject kobj; - list_t devices; - - struct module *owner; - - int (*probe) (struct device * dev); - int (*remove) (struct device * dev); - - int (*suspend) (struct device * dev, pm_message_t state); - int (*resume) (struct device * dev); -}; - +See the kerneldoc for the struct device_driver. Allocation