projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c69294
)
drm/omap: kill firstopen callback
author
Daniel Vetter
<
[email protected]
>
Thu, 8 Aug 2013 13:41:11 +0000
(15:41 +0200)
committer
Dave Airlie
<
[email protected]
>
Sun, 18 Aug 2013 23:40:01 +0000
(09:40 +1000)
KMS drivers really shouldn't need to do anything on firstopen, so kill
empty callbacks.
Signed-off-by: Daniel Vetter <
[email protected]
>
Acked-by: Rob Clark <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/omapdrm/omap_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/omap_drv.c
b/drivers/gpu/drm/omapdrm/omap_drv.c
index 2f9e22e22bd437ecf40c22a6b17e1ebf4226c200..47e64f916254dcf3d8eba29c0906b9047d7b4c4f 100644
(file)
--- a/
drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/
drivers/gpu/drm/omapdrm/omap_drv.c
@@
-524,12
+524,6
@@
static int dev_open(struct drm_device *dev, struct drm_file *file)
return 0;
}
-static int dev_firstopen(struct drm_device *dev)
-{
- DBG("firstopen: dev=%p", dev);
- return 0;
-}
-
/**
* lastclose - clean up after all DRM clients have exited
* @dev: DRM device
@@
-609,7
+603,6
@@
static struct drm_driver omap_drm_driver = {
.load = dev_load,
.unload = dev_unload,
.open = dev_open,
- .firstopen = dev_firstopen,
.lastclose = dev_lastclose,
.preclose = dev_preclose,
.postclose = dev_postclose,