Tweaked API to minimise changes to existing drivers even further.

This commit is contained in:
Michael Brown
2005-04-21 19:04:53 +00:00
parent a713813596
commit cfe3a663af
4 changed files with 12 additions and 12 deletions

View File

@@ -154,7 +154,7 @@ struct bus_driver {
int ( *check_driver ) ( struct bus_dev *bus_dev,
struct device_driver *device_driver );
char * ( *describe ) ( struct bus_dev *bus_dev );
char * ( *name ) ( struct bus_dev *bus_dev );
const char * ( *name ) ( struct bus_dev *bus_dev );
};
#define __bus_driver __attribute__ (( used, __section__ ( ".drivers.bus" ) ))