.. | .. |
---|
25 | 25 | * dio_device_id structure or %NULL if there is no match. |
---|
26 | 26 | */ |
---|
27 | 27 | |
---|
28 | | -const struct dio_device_id * |
---|
| 28 | +static const struct dio_device_id * |
---|
29 | 29 | dio_match_device(const struct dio_device_id *ids, |
---|
30 | 30 | const struct dio_dev *d) |
---|
31 | 31 | { |
---|
.. | .. |
---|
105 | 105 | * @dev: the DIO device structure to match against |
---|
106 | 106 | * @drv: the &device_driver that points to the array of DIO device id structures to search |
---|
107 | 107 | * |
---|
108 | | - * Used by a driver to check whether a DIO device present in the |
---|
109 | | - * system is in its list of supported devices. Returns the matching |
---|
110 | | - * dio_device_id structure or %NULL if there is no match. |
---|
| 108 | + * Used by the driver core to check whether a DIO device present in the |
---|
| 109 | + * system is in a driver's list of supported devices. Returns 1 if supported, |
---|
| 110 | + * and 0 if there is no match. |
---|
111 | 111 | */ |
---|
112 | 112 | |
---|
113 | 113 | static int dio_bus_match(struct device *dev, struct device_driver *drv) |
---|
.. | .. |
---|
137 | 137 | |
---|
138 | 138 | postcore_initcall(dio_driver_init); |
---|
139 | 139 | |
---|
140 | | -EXPORT_SYMBOL(dio_match_device); |
---|
141 | 140 | EXPORT_SYMBOL(dio_register_driver); |
---|
142 | 141 | EXPORT_SYMBOL(dio_unregister_driver); |
---|
143 | 142 | EXPORT_SYMBOL(dio_bus_type); |
---|