From patchwork Mon Sep 21 16:08:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 11790367 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 513CB59D for ; Mon, 21 Sep 2020 16:10:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2B421206BE for ; Mon, 21 Sep 2020 16:10:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BE73T3S/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727517AbgIUQKq (ORCPT ); Mon, 21 Sep 2020 12:10:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727020AbgIUQKq (ORCPT ); Mon, 21 Sep 2020 12:10:46 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EE34C0613CF for ; Mon, 21 Sep 2020 09:10:46 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id v14so30540pjd.4 for ; Mon, 21 Sep 2020 09:10:46 -0700 (PDT) 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=3OCoOb+JFwXi2wMv6xbpF4vbDUAK9pGDZl8s+55Ok38=; b=BE73T3S/tyHZjhE/erv6+Fp2AzREMLo2TCynxaqXuZRJ64fC1pcsvc7VzbKjwO/I7o SH4cURqL4vpii33opB9A96M8Q3WRE23pR/GUhB7o+WBdHu0wbtn4DfI1rMrTeSa98Pjq BWP6EDopO+LBlrpZQG/P8oHt/36a6oiugbaWyU8eTE3pvuLvdUyOLmMOfu+tKWpuUtYX jTthi20LmO17UXV3MbexJ9FdLsv0BHCqycRGmnmwNE+B63Y7esj5GArJ8SkTkO/8rHmv d/bwW2iCufKpWspTgVe1D+N47MUmGBWcPhxPLI/QpQTSP6tKbaCKfFm7ZRQTqBKR0iDy P4QQ== 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=3OCoOb+JFwXi2wMv6xbpF4vbDUAK9pGDZl8s+55Ok38=; b=Lmd3UUy5998/1e09eUo6OAhnUZDHaAdbcVhb4b6WMtIye1cuAJMkC0PY1m1cXk6F1P fzri7IqiidJ0oAwJcQQjXYkv1oX0pcD0IUyiXWn7xTw2AE1ltbOlqO+6n2anSAy/pI3V kW5VQ/pQNRfAOhV61NEskzQ04tfjYRd8blVJRrGQ56It2S7T5h0c3TtWAO4WoX5s/RiE d46xOSMHYyMmSbN4nnV2j2CHEzfuOsl6lkLrsvIFhffVSKTvooHTrdCgi/2LZQYX0V0I pil5CVQ2mbQfu0/YlMeY+kTh5r1FmmN1jBqBTRsn96NuYbFA+RHj6L83sOFYd0bmqQNE tWiA== X-Gm-Message-State: AOAM532bGX7dBokoagCJcxzywegYGgHptD5DoIxraIEug2LRVv/34+VM uUldHwHSRaSTrTQgSJjJR+et X-Google-Smtp-Source: ABdhPJwpaVojx96jHcOWdx4H9eqAKTLKRQrWAw93+bEo8d17Qa7gp75oKV7hpU7GXAM3XfoPLDiNIQ== X-Received: by 2002:a17:90a:e60b:: with SMTP id j11mr132113pjy.38.1600704645585; Mon, 21 Sep 2020 09:10:45 -0700 (PDT) Received: from Mani-XPS-13-9360.localdomain ([2409:4072:6d03:bd12:1004:2ccf:6900:b97]) by smtp.gmail.com with ESMTPSA id f4sm9204577pgr.68.2020.09.21.09.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 09:10:44 -0700 (PDT) From: Manivannan Sadhasivam To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, jhugo@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Clark Williams , Sebastian Andrzej Siewior , Manivannan Sadhasivam Subject: [PATCH 12/18] bus: mhi: Remove include of rwlock_types.h Date: Mon, 21 Sep 2020 21:38:09 +0530 Message-Id: <20200921160815.28071-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200921160815.28071-1-manivannan.sadhasivam@linaro.org> References: <20200921160815.28071-1-manivannan.sadhasivam@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Clark Williams rwlock.h should not be included directly. Instead linux/splinlock.h should be included. Including it directly will break the RT build. Also there is no point in including _types.h headers directly. There is no benefit in including the type without the accessor. Fixes: 0cbf260820fa7 ("bus: mhi: core: Add support for registering MHI controllers") Signed-off-by: Clark Williams Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam --- include/linux/mhi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/mhi.h b/include/linux/mhi.h index b2c0214bfbd6..008b8f6fa9ff 100644 --- a/include/linux/mhi.h +++ b/include/linux/mhi.h @@ -9,10 +9,9 @@ #include #include #include -#include #include #include -#include +#include #include #include