diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-04-18 16:27:26 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-04-18 17:26:36 +0300 |
commit | 02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2 (patch) | |
tree | 5ac7d625b794b45b8544cd83908ea82de4fbc445 /net/switchdev/switchdev.c | |
parent | 71adf60f0a925c0e0c7dc2d0311fe40b825be737 (diff) | |
download | linux-02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2.tar.xz |
drm/sun4i: Set device driver data at bind time for use in unbind
Our sun4i_drv_unbind gets the drm device using dev_get_drvdata.
However, that driver data is never set in sun4i_drv_bind.
Set it there to avoid getting a NULL pointer at unbind time.
Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support")
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190418132727.5128-3-paul.kocialkowski@bootlin.com
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions