[PATCH 1/2] omap2+: add drm device
Felipe Contreras
felipe.contreras at gmail.com
Mon Jan 16 06:12:10 PST 2012
On Fri, Jan 13, 2012 at 11:19 PM, Rob Clark <rob.clark at linaro.org> wrote:
> On Fri, Jan 13, 2012 at 2:59 PM, Felipe Contreras
> <felipe.contreras at gmail.com> wrote:
>> On Fri, Jan 13, 2012 at 10:41 PM, Rob Clark <rob.clark at linaro.org> wrote:
>>> diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
>>> index 9a58461..b86e6cb 100644
>>> --- a/arch/arm/plat-omap/Makefile
>>> +++ b/arch/arm/plat-omap/Makefile
>>> @@ -4,7 +4,7 @@
>>>
>>> # Common support
>>> obj-y := common.o sram.o clock.o devices.o dma.o mux.o \
>>> - usb.o fb.o counter_32k.o
>>> + usb.o fb.o counter_32k.o drm.o
>>
>> Should be something like this:
>> obj-$(CONFIG_DRM_OMAP) += drm.o
>
> btw, how does that work if CONFIG_DRM_OMAP=m? Do you end up w/ a
> plat-omap module?
Yes, and platform drivers are supposed to be loaded automatically at
boot-time by udev (or similar).
--
Felipe Contreras
More information about the dri-devel
mailing list