staging: drm/omap: Disable DMM debugfs for OMAP3
authorAndy Gross <andy.gross@ti.com>
Mon, 5 Mar 2012 16:48:37 +0000 (10:48 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Mar 2012 21:38:07 +0000 (13:38 -0800)
commit132390c79e01b3da732bc7b5d9e729b52086ceb6
tree75adcc945252ec607a886f60c3d21ddf43968d35
parentf6b6036e56ca17378dd0294b684db623abd6a901
staging: drm/omap: Disable DMM debugfs for OMAP3

OMAP3 does not contain a DMM/Tiler block.  As such, we should not
be exposing any DMM debugfs entries on OMAP3 platforms.

Added inline helper function to verify existence of DMM.

Signed-off-by: Andy Gross <andy.gross@ti.com>
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_debugfs.c
drivers/staging/omapdrm/omap_dmm_tiler.h