staging: drm/omap: fix missing include on omap_crtc
PATCH 1/1 staging: drm/omap: fix missing include on omap_crtc
From: Enric Balletbo i Serra <[email protected]>
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 | ...
--- drivers/staging/omapdrm/omap_crtc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/omapdrm/omap_crtc.c +2 -2
@@ -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"
Signature · 1 line
1.7.5.4
Quoted 8 lines · Enric Balletbo i Serra
From: Enric Balletbo i Serra <[email protected]>
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
Quoted 22 lines
Signed-off-by Enric Balletbo i Serra <[email protected]>--- drivers/staging/omapdrm/omap_crtc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)drivers/staging/omapdrm/omap_crtc.c +2
-2@@ -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"
Hi Rob,
2012/11/29 Rob Clark <[email protected]>:
Quoted 13 lines · Enric Balletbo i Serra
Quoted 10 lines
From: Enric Balletbo i Serra <[email protected]>
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 ordirectory
| ...
Quoted 4 lines
fwiw, I have this patch in my local tree that is fixing the same issue:
Thanks, I didn't see this patch in linux-omap ML and others ML that I'm subscribed. Please skip this patch.
Quoted 4 lines
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
Quoted 27 lines
BR,
-RQuoted 21 lines
Signed-off-by Enric Balletbo i Serra <[email protected]>--- drivers/staging/omapdrm/omap_crtc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)drivers/staging/omapdrm/omap_crtc.c +2
-0@@ -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"