diff options
author | Paul Kocialkowski <[email protected]> | 2019-04-18 15:27:26 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2019-04-18 16:26:36 +0200 |
commit | 02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2 (patch) | |
tree | 5ac7d625b794b45b8544cd83908ea82de4fbc445 /net/unix/sysctl_net_unix.c | |
parent | 71adf60f0a925c0e0c7dc2d0311fe40b825be737 (diff) |
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 <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions