[PATCH 1/3] mailbox: rename pl320-ipc specific mailbox.h
Mark Langsdorf
mark.langsdorf at calxeda.com
Mon Apr 29 08:46:27 EDT 2013
On 04/27/2013 01:05 PM, jaswinder.singh at linaro.org wrote:
> From: Suman Anna <s-anna at ti.com>
>
> The patch 30058677 "ARM / highbank: add support for pl320 IPC"
> added a pl320 IPC specific header file as a generic mailbox.h.
> This file has been renamed appropriately to allow the
> introduction of the generic mailbox API framework.
>
> Signed-off-by: Suman Anna <s-anna at ti.com>
> Cc: Mark Langsdorf <mark.langsdorf at calxeda.com>
> Cc: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
> ---
> drivers/cpufreq/highbank-cpufreq.c | 2 +-
> drivers/mailbox/pl320-ipc.c | 2 +-
> include/linux/{mailbox.h => pl320-ipc.h} | 0
> 3 files changed, 2 insertions(+), 2 deletions(-)
> rename include/linux/{mailbox.h => pl320-ipc.h} (100%)
>
> diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c
> index b61b5a3..3118b87 100644
> --- a/drivers/cpufreq/highbank-cpufreq.c
> +++ b/drivers/cpufreq/highbank-cpufreq.c
> @@ -19,7 +19,7 @@
> #include <linux/cpu.h>
> #include <linux/err.h>
> #include <linux/of.h>
> -#include <linux/mailbox.h>
> +#include <linux/pl320-ipc.h>
> #include <linux/platform_device.h>
>
> #define HB_CPUFREQ_CHANGE_NOTE 0x80000001
> diff --git a/drivers/mailbox/pl320-ipc.c b/drivers/mailbox/pl320-ipc.c
> index d873cba..f3755e0 100644
> --- a/drivers/mailbox/pl320-ipc.c
> +++ b/drivers/mailbox/pl320-ipc.c
> @@ -26,7 +26,7 @@
> #include <linux/device.h>
> #include <linux/amba/bus.h>
>
> -#include <linux/mailbox.h>
> +#include <linux/pl320-ipc.h>
>
> #define IPCMxSOURCE(m) ((m) * 0x40)
> #define IPCMxDSET(m) (((m) * 0x40) + 0x004)
> diff --git a/include/linux/mailbox.h b/include/linux/pl320-ipc.h
> similarity index 100%
> rename from include/linux/mailbox.h
> rename to include/linux/pl320-ipc.h
>
Acked-by: Mark Langsdorf <mark.langsdorf at calxeda.com>
More information about the linux-arm-kernel
mailing list