1PLATFORM_DRIVER_PROB(9)  Device drivers infrastructure PLATFORM_DRIVER_PROB(9)
2
3
4

NAME

6       platform_driver_probe - register driver for non-hotpluggable device
7

SYNOPSIS

9       int __init_or_module
10                                                  platform_driver_probe(struct platform_driver * drv,
11                                                  int (*probe) (struct platform_device *));
12

ARGUMENTS

14       drv
15           platform driver structure
16
17       probe
18           the driver probe routine, probably from an __init section
19

DESCRIPTION

21       Use this instead of platform_driver_register when you know the device
22       is not hotpluggable and has already been registered, and you want to
23       remove its run-once probe infrastructure from memory after the driver
24       has bound to the device.
25
26       One typical use for this would be with drivers for controllers
27       integrated into system-on-chip processors, where the controller devices
28       have been configured as part of board setup.
29
30       Returns zero if the driver registered and bound to a device, else
31       returns a negative error code and with the driver not registered.
32
34Kernel Hackers Manual 2.6.         June 2019           PLATFORM_DRIVER_PROB(9)
Impressum