author | Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> | |
Thu, 23 Aug 2012 03:51:15 +0000 (00:51 -0300) | ||
committer | Rob Clark <rob@ti.com> | |
Thu, 23 Aug 2012 19:37:58 +0000 (14:37 -0500) | ||
commit | 041314709f1bdfbe1544dab32fdc68e9bd59186b | |
tree | e558ca13dac3027b49c339eee1fad1be9f504e48 | tree | snapshot (tar.xz tar.gz zip) |
parent | 8c19eee2ebe41e8d6c79ae88edbca1d590f451dc | commit | diff |
omap: add support for PlatformProbe
Since xorg 1.12.99.901 we now have support for platform devices, which
is already responsible for looking over the devices from udev, and
setting up the device attributes, entity and platform slot, simplifying
the probe method.
The old probe function is still valid, and also used in case there's no
platform support, so this change only affects users building the driver
agains the latest xorg release.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
Signed-off-by: Rob Clark <rob@ti.com>
Since xorg 1.12.99.901 we now have support for platform devices, which
is already responsible for looking over the devices from udev, and
setting up the device attributes, entity and platform slot, simplifying
the probe method.
The old probe function is still valid, and also used in case there's no
platform support, so this change only affects users building the driver
agains the latest xorg release.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
Signed-off-by: Rob Clark <rob@ti.com>
src/omap_driver.c | diff | blob | history | |
src/omap_driver.h | diff | blob | history |