From patchwork Fri Dec 30 12:47:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 89344 Delivered-To: patches@linaro.org Received: by 10.140.20.101 with SMTP id 92csp6424672qgi; Fri, 30 Dec 2016 04:48:14 -0800 (PST) X-Received: by 10.46.72.2 with SMTP id v2mr15825102lja.67.1483102094798; Fri, 30 Dec 2016 04:48:14 -0800 (PST) Return-Path: Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com. [2a00:1450:4010:c07::229]) by mx.google.com with ESMTPS id 187si33054464lfb.204.2016.12.30.04.48.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Dec 2016 04:48:14 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) client-ip=2a00:1450:4010:c07::229; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x229.google.com with SMTP id y21so236379548lfa.1 for ; Fri, 30 Dec 2016 04:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4q7uyG1pcv4ax7hX+FcLeA8DDxOmJL7xiRPDufYS25c=; b=ITQOtAkzuq/NYa/w6yHAWQYCotxT1T+8+TX3/hPt+NhW7H9DAoGRWtS/gfjLS9HaIo gWaQrop4Xbkvtfcmata2H79oqaohSIzEE18Au6b23VQGi0dvesB7GdM0rN1mfNjzLpPV vVf85laS2pDdDtepZZyqA3ngAeB4c8nFczmKc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4q7uyG1pcv4ax7hX+FcLeA8DDxOmJL7xiRPDufYS25c=; b=IlEUk039+IL+gBq0Png+3PUUmfyxXhNhB2uJeJlvBMDooreBjnDpdyM3AvPOPAQWK8 TS1SDFdoseFBZ5a4WfGPkkXP1zoFN01KyLtDw5hOv11h4QbkNlq71vcP2XrhYCdLQg9V qnkQzB5WR2nhMWvhfsD4FZ/40RW8NlcwaOrT3/Kwh1Xub/vuMT8h+AmRF80+lG4gd0tB PztOhpmpSAur/GXX4QmfqwpL9/lC5+tU1RuxyWVK2wqLx4SpIjDnI/ZzMtWvr1InP3u2 zyAqejgWwxRm1I7yrd204Uc2lZQkBoGP38CvIb1E7hL4aJDxDEsg3a2cWymMKPSIRNt6 hJ5w== X-Gm-Message-State: AIkVDXLjP/utdFEpOeivQgf+17mI2V7I4qxinTr1AdPe+ouKocGrLreSrPCSvUJOyHQq8KJwFDg= X-Received: by 10.25.190.79 with SMTP id o76mr16848499lff.56.1483102094398; Fri, 30 Dec 2016 04:48:14 -0800 (PST) Return-Path: Received: from localhost.localdomain (h-155-4-221-67.na.cust.bahnhof.se. [155.4.221.67]) by smtp.gmail.com with ESMTPSA id a79sm7450069ljb.46.2016.12.30.04.48.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 04:48:13 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH 10/21] mmc: host: Include interrupt.h in mmc host drivers that depends on it Date: Fri, 30 Dec 2016 13:47:23 +0100 Message-Id: <1483102054-1752-11-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483102054-1752-1-git-send-email-ulf.hansson@linaro.org> References: <1483102054-1752-1-git-send-email-ulf.hansson@linaro.org> An mmc host driver shouldn't rely on interrupt.h being included by another public mmc header. Instead make that dependency explicit by including interrupt.h in those host drivers that depends on it. Signed-off-by: Ulf Hansson --- drivers/mmc/host/davinci_mmc.c | 1 + drivers/mmc/host/dw_mmc.h | 1 + drivers/mmc/host/meson-gx-mmc.c | 1 + drivers/mmc/host/mtk-sd.c | 1 + drivers/mmc/host/sdhci.h | 1 + drivers/mmc/host/tmio_mmc.h | 1 + drivers/mmc/host/via-sdmmc.c | 1 + drivers/mmc/host/wmt-sdmmc.c | 1 + 8 files changed, 8 insertions(+) -- 1.9.1 Reviewed-by: Linus Walleij diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index 36b5af8..1e2600d 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c @@ -36,6 +36,7 @@ #include #include #include +#include #include diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index 9601461..231a46f 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -18,6 +18,7 @@ #include #include #include +#include #define MAX_MCI_SLOTS 2 diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index b352760..22bfe5e 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -35,6 +35,7 @@ #include #include #include +#include #define DRIVER_NAME "meson-gx-mmc" diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 10ef2ae..d33828e 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index a10a7b6..edf3adf 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -18,6 +18,7 @@ #include #include #include +#include #include diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 9e20bcf..9b22844 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -24,6 +24,7 @@ #include #include #include +#include #define CTL_SD_CMD 0x00 #define CTL_ARG_REG 0x04 diff --git a/drivers/mmc/host/via-sdmmc.c b/drivers/mmc/host/via-sdmmc.c index 63fac78..6380044 100644 --- a/drivers/mmc/host/via-sdmmc.c +++ b/drivers/mmc/host/via-sdmmc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c index 5af0055..21ebba8 100644 --- a/drivers/mmc/host/wmt-sdmmc.c +++ b/drivers/mmc/host/wmt-sdmmc.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include