diff options
| author | Michael Brown | 2005-04-21 21:04:53 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-21 21:04:53 +0200 |
| commit | cfe3a663af0dc133b8f9a1652d0820160889d6ea (patch) | |
| tree | 35cc506a7d172f5f28696920247b17abc94e833b /src/include | |
| parent | Updated to current API (diff) | |
| download | ipxe-cfe3a663af0dc133b8f9a1652d0820160889d6ea.tar.gz ipxe-cfe3a663af0dc133b8f9a1652d0820160889d6ea.tar.xz ipxe-cfe3a663af0dc133b8f9a1652d0820160889d6ea.zip | |
Tweaked API to minimise changes to existing drivers even further.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/dev.h | 2 | ||||
| -rw-r--r-- | src/include/pci.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/dev.h b/src/include/dev.h index 4f114496e..83b7f827f 100644 --- a/src/include/dev.h +++ b/src/include/dev.h @@ -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" ) )) diff --git a/src/include/pci.h b/src/include/pci.h index 49e36d506..677e09a64 100644 --- a/src/include/pci.h +++ b/src/include/pci.h @@ -296,7 +296,7 @@ struct pci_id { * can handle an entire class of devices. * */ -struct pci_driver_info { +struct pci_driver { struct pci_id *ids; unsigned int id_count; uint16_t class; |
