linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: drm/omap: fix missing include on omap_crtc
@ 2012-11-28 12:55 Enric Balletbo i Serra
  2012-11-29 21:13 ` Rob Clark
  0 siblings, 1 reply; 3+ messages in thread
From: Enric Balletbo i Serra @ 2012-11-28 12:55 UTC (permalink / raw)
  To: gregkh, rob, laurent.pinchart, devel, linux-omap; +Cc: Enric Balletbo i Serra

From: Enric Balletbo i Serra <eballetbo@iseebcn.com>

This fixes following error:

| ...
| CC [M]  drivers/staging/omapdrm/omap_crtc.o
| .../omapdrm/omap_crtc.c:22:22: fatal error: drm_mode.h: No such file or directory
| ...

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
 drivers/staging/omapdrm/omap_crtc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/omapdrm/omap_crtc.c b/drivers/staging/omapdrm/omap_crtc.c
index 732f2ad..1d54fe9 100644
--- a/drivers/staging/omapdrm/omap_crtc.c
+++ b/drivers/staging/omapdrm/omap_crtc.c
@@ -17,9 +17,9 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "omap_drv.h"
+#include <drm/drm_mode.h>
 
-#include "drm_mode.h"
+#include "omap_drv.h"
 #include "drm_crtc.h"
 #include "drm_crtc_helper.h"
 
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: drm/omap: fix missing include on omap_crtc
  2012-11-28 12:55 [PATCH] staging: drm/omap: fix missing include on omap_crtc Enric Balletbo i Serra
@ 2012-11-29 21:13 ` Rob Clark
  2012-11-29 21:48   ` Enric Balletbo Serra
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Clark @ 2012-11-29 21:13 UTC (permalink / raw)
  To: Enric Balletbo i Serra
  Cc: gregkh, laurent.pinchart, devel, linux-omap,
	Enric Balletbo i Serra

On 11/28/2012 06:55 AM, Enric Balletbo i Serra wrote:
> From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
>
> This fixes following error:
>
> | ...
> | CC [M]  drivers/staging/omapdrm/omap_crtc.o
> | .../omapdrm/omap_crtc.c:22:22: fatal error: drm_mode.h: No such file or directory
> | ...

fwiw, I have this patch in my local tree that is fixing the same issue:

https://patchwork.kernel.org/patch/1588461/


and I think I've seen at least one other patch for the same thing..   it 
would be nice to at least get one version of this fix in 3.7..

BR,
-R

>
> Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
> ---
>   drivers/staging/omapdrm/omap_crtc.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/omapdrm/omap_crtc.c b/drivers/staging/omapdrm/omap_crtc.c
> index 732f2ad..1d54fe9 100644
> --- a/drivers/staging/omapdrm/omap_crtc.c
> +++ b/drivers/staging/omapdrm/omap_crtc.c
> @@ -17,9 +17,9 @@
>    * this program.  If not, see <http://www.gnu.org/licenses/>.
>    */
>   
> -#include "omap_drv.h"
> +#include <drm/drm_mode.h>
>   
> -#include "drm_mode.h"
> +#include "omap_drv.h"
>   #include "drm_crtc.h"
>   #include "drm_crtc_helper.h"
>   


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: drm/omap: fix missing include on omap_crtc
  2012-11-29 21:13 ` Rob Clark
@ 2012-11-29 21:48   ` Enric Balletbo Serra
  0 siblings, 0 replies; 3+ messages in thread
From: Enric Balletbo Serra @ 2012-11-29 21:48 UTC (permalink / raw)
  To: Rob Clark; +Cc: gregkh, laurent.pinchart, devel, linux-omap

Hi Rob,

2012/11/29 Rob Clark <rob@ti.com>:
> On 11/28/2012 06:55 AM, Enric Balletbo i Serra wrote:
>>
>> From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
>>
>> This fixes following error:
>>
>> | ...
>> | CC [M]  drivers/staging/omapdrm/omap_crtc.o
>> | .../omapdrm/omap_crtc.c:22:22: fatal error: drm_mode.h: No such file or
>> directory
>> | ...
>
>
> fwiw, I have this patch in my local tree that is fixing the same issue:
>
> https://patchwork.kernel.org/patch/1588461/
>

Thanks, I didn't see this patch in linux-omap ML and others ML that
I'm subscribed. Please skip this patch.

>
> and I think I've seen at least one other patch for the same thing..   it
> would be nice to at least get one version of this fix in 3.7..
>

Completely agree.

Best regards,
   Enric

> BR,
> -R
>
>
>>
>> Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
>> ---
>>   drivers/staging/omapdrm/omap_crtc.c |    4 ++--
>>   1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/staging/omapdrm/omap_crtc.c
>> b/drivers/staging/omapdrm/omap_crtc.c
>> index 732f2ad..1d54fe9 100644
>> --- a/drivers/staging/omapdrm/omap_crtc.c
>> +++ b/drivers/staging/omapdrm/omap_crtc.c
>> @@ -17,9 +17,9 @@
>>    * this program.  If not, see <http://www.gnu.org/licenses/>.
>>    */
>>   -#include "omap_drv.h"
>> +#include <drm/drm_mode.h>
>>   -#include "drm_mode.h"
>> +#include "omap_drv.h"
>>   #include "drm_crtc.h"
>>   #include "drm_crtc_helper.h"
>>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-29 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28 12:55 [PATCH] staging: drm/omap: fix missing include on omap_crtc Enric Balletbo i Serra
2012-11-29 21:13 ` Rob Clark
2012-11-29 21:48   ` Enric Balletbo Serra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).