All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amit Kucheria <amit.kucheria@linaro.org>
To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	daniel.lezcano@linaro.org,
	Amit Daniel Kachhap <amit.kachhap@gmail.com>,
	Amit Kucheria <amit.kucheria@verdurent.com>,
	Javi Merino <javi.merino@kernel.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Subject: [PATCH 02/14] thermal/core: Replace module.h with export.h
Date: Mon, 11 May 2020 17:54:50 +0530	[thread overview]
Message-ID: <33af23406dcdb0c62dae1e6401446b997ccb449f.1589199124.git.amit.kucheria@linaro.org> (raw)
In-Reply-To: <cover.1589199124.git.amit.kucheria@linaro.org>

Thermal core cannot be modular, remove the unnecessary module.h include
and replace with export.h to handle EXPORT_SYMBOL family of macros.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
---
 drivers/thermal/thermal_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 286920e06277..bed4a7bea7bb 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -9,9 +9,9 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/module.h>
 #include <linux/device.h>
 #include <linux/err.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/kdev_t.h>
 #include <linux/idr.h>
-- 
2.20.1


  parent reply	other threads:[~2020-05-11 12:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 12:24 [PATCH 00/14] thermal core include cleanups Amit Kucheria
2020-05-11 12:24 ` [PATCH 01/14] thermal/core: Get rid of MODULE_* tags Amit Kucheria
2020-05-11 12:24 ` Amit Kucheria [this message]
2020-05-11 12:24 ` [PATCH 03/14] thermal/drivers/thermal_helpers: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 04/14] thermal/drivers/thermal_helpers: Include export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 05/14] thermal/drivers/thermal_hwmon: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 06/14] thermal/drivers/thermal_hwmon: Include export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 07/14] thermal/drivers/clock_cooling: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 08/14] thermal/drivers/clock_cooling: Include export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 09/14] thermal/drivers/cpufreq_cooling: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 10/14] thermal/drivers/cpufreq_cooling: Replace module.h with export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 11/14] thermal/drivers/of-thermal: Sort headers alphabetically Amit Kucheria
2020-05-11 12:25 ` [PATCH 12/14] thermal/drivers/user_space: " Amit Kucheria
2020-05-11 12:25 ` [PATCH 13/14] thermal/governors: Prefix all source files with gov_ Amit Kucheria
2020-05-11 12:25 ` [PATCH 14/14] thermal/of: Rename of-thermal.c Amit Kucheria
2020-05-12  4:21 ` [PATCH 00/14] thermal core include cleanups Viresh Kumar
2020-05-22 16:49 ` Daniel Lezcano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33af23406dcdb0c62dae1e6401446b997ccb449f.1589199124.git.amit.kucheria@linaro.org \
    --to=amit.kucheria@linaro.org \
    --cc=amit.kachhap@gmail.com \
    --cc=amit.kucheria@verdurent.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=javi.merino@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.