ARM: OMAP2+: drm: Don't build device for DMM
authorArchit Taneja <archit@ti.com>
Mon, 16 Sep 2013 07:18:28 +0000 (12:48 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 8 Oct 2013 20:59:20 +0000 (13:59 -0700)
commit7dfebabd4852b08ec0093d6f78aba7bc1b100318
treed45a5e4185af06a2898020581ba4846dd1f9d415
parentd0e639c9e06d44e713170031fe05fb60ebe680af
ARM: OMAP2+: drm: Don't build device for DMM

DMM exists on omap4+ platforms, these platforms are always expected to boot with
DT. Remove the current method of searching the dmm hwmod and building an
omap_device for dmm.

For OMAP4, the address and irq data for DMM hwmod(along with other blocks) were
removed, so the current method fails in the dmm driver's probe anyway.

The addition of DMM nodes in DT will ensure that a DMM device is built
correctly.

Cc: Andy Gross <andygro@gmail.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/drm.c