File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 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
{
@@ -137,7 +137,6 @@ static int __init dio_driver_init(void)
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 );
Original file line number Diff line number Diff line change @@ -247,7 +247,6 @@ extern int dio_create_sysfs_dev_files(struct dio_dev *);
247
247
/* New-style probing */
248
248
extern int dio_register_driver (struct dio_driver * );
249
249
extern void dio_unregister_driver (struct dio_driver * );
250
- extern const struct dio_device_id * dio_match_device (const struct dio_device_id * ids , const struct dio_dev * z );
251
250
static inline struct dio_driver * dio_dev_driver (const struct dio_dev * d )
252
251
{
253
252
return d -> driver ;
You can’t perform that action at this time.
0 commit comments