From: Greg Kroah-Hartman Date: Wed, 8 Jun 2011 16:18:32 +0000 (-0700) Subject: Staging: cx23885: fix include of altera.h X-Git-Tag: MMI-PSA29.97-13-9~19249^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2d4dc5af36673e64e29973c974246eafe63548f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: cx23885: fix include of altera.h The cx23885 driver was including staging/altera.h, but that file has moved back into the driver directory. Why a non-staging driver was including a staging driver is beyond me, but this fixes the build so everything is happy for now. For the record, it's not ok for a non-staging driver to depend on a staging one, as that implies that the non-staging one should also be in the staging tree if that's needed. Cc: Igor M. Liplianin Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 2354336862cf..934185cca758 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -25,8 +25,8 @@ #include #include #include -#include +#include "../../../staging/altera-stapl/altera.h" #include "cx23885.h" #include "tuner-xc2028.h" #include "netup-init.h"