drm: Add NULL check about irq functions
authorJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 4 Aug 2011 05:41:01 +0000 (05:41 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Aug 2011 13:39:21 +0000 (14:39 +0100)
commit5037f8acf448dd0de9868dc7410f45879d3d1a1b
treeb437939f0fa2c0207bbc0100ebea3ef93d63d276
parente1c44acc8cabda6b38864f25e809b306c4d2d790
drm: Add NULL check about irq functions

The struct drm_driver has some function pointers for irq. They are
gpu specific and some functions aren't essential things. This can
prevents creation of unnecessary dummy function for irq.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c