File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Documentation/driver-api/driver-model Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,14 @@ and shutdown notifications using the standard conventions::
41
41
42
42
struct platform_driver {
43
43
int (*probe)(struct platform_device *);
44
- int (*remove)(struct platform_device *);
44
+ void (*remove)(struct platform_device *);
45
45
void (*shutdown)(struct platform_device *);
46
46
int (*suspend)(struct platform_device *, pm_message_t state);
47
- int (*suspend_late)(struct platform_device *, pm_message_t state);
48
- int (*resume_early)(struct platform_device *);
49
47
int (*resume)(struct platform_device *);
50
48
struct device_driver driver;
49
+ const struct platform_device_id *id_table;
50
+ bool prevent_deferred_probe;
51
+ bool driver_managed_dma;
51
52
};
52
53
53
54
Note that probe() should in general verify that the specified device hardware
You can’t perform that action at this time.
0 commit comments