public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: sshtylyov@mvista•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v4 5/5] ARM: davinci: create new common platform header for davinci
Date: Fri, 09 Dec 2011 14:50:27 +0400	[thread overview]
Message-ID: <4EE1E7F3.3050509@mvista.com> (raw)
In-Reply-To: <1323352528-1207-6-git-send-email-manjunath.hadli@ti.com>

Hello.

On 08-12-2011 17:55, Manjunath Hadli wrote:

> remove the code from individual platform header files for
> dm365, dm355, dm644x and dm646x and consolidate it into a
> single and common header file davinci.h.

> Signed-off-by: Manjunath Hadli<manjunath.hadli@ti•com>
[...]

> diff --git a/arch/arm/mach-davinci/davinci.h b/arch/arm/mach-davinci/davinci.h
> new file mode 100644
> index 0000000..1fafbd7
> --- /dev/null
> +++ b/arch/arm/mach-davinci/davinci.h
> @@ -0,0 +1,88 @@
[...]
> +/* DM646x function declarations */
> +void __init dm646x_init(void);
> +void __init dm646x_init_mcasp0(struct snd_platform_data *pdata);
> +void __init dm646x_init_mcasp1(struct snd_platform_data *pdata);
> +void __init dm646x_board_setup_refclk(struct clk *clk);

    I don't see from where are you moving this prototype -- it wasn't in the 
original #include file... In fact, I'm not even seeing this function in the 
current Linus tree...

> +int __init dm646x_init_edma(struct edma_rsv_info *rsv);
> +
> +void dm646x_video_init(void);
> +
> +void dm646x_setup_vpif(struct vpif_display_config *,
> +		       struct vpif_capture_config *);
> +#endif /*__DAVINCI_H */
[...]
> diff --git a/arch/arm/mach-davinci/include/mach/dm646x.h b/arch/arm/mach-davinci/include/mach/dm646x.h
> deleted file mode 100644
> index eb95864..0000000
> --- a/arch/arm/mach-davinci/include/mach/dm646x.h
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -/*
> - * Chip specific defines for DM646x SoC
> - *
> - * Author: Kevin Hilman, Deep Root Systems, LLC
> - *
> - * 2007 (c) Deep Root Systems, LLC. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> - */
> -#ifndef __ASM_ARCH_DM646X_H
> -#define __ASM_ARCH_DM646X_H
> -
> -#include<mach/hardware.h>
> -#include<mach/asp.h>
> -#include<linux/i2c.h>
> -#include<linux/videodev2.h>
> -#include<linux/davinci_emac.h>
> -#include<media/davinci/vpif_types.h>
> -
> -#define DM646X_ASYNC_EMIF_CONTROL_BASE	0x20008000
> -#define DM646X_ASYNC_EMIF_CS2_SPACE_BASE 0x42000000
> -
> -void __init dm646x_init(void);
> -void __init dm646x_init_mcasp0(struct snd_platform_data *pdata);
> -void __init dm646x_init_mcasp1(struct snd_platform_data *pdata);
> -int __init dm646x_init_edma(struct edma_rsv_info *rsv);
> -
> -void dm646x_video_init(void);
> -
> -void dm646x_setup_vpif(struct vpif_display_config *,
> -		       struct vpif_capture_config *);
> -
> -#endif /* __ASM_ARCH_DM646X_H */

WBR, Sergei

  reply	other threads:[~2011-12-09 10:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-08 13:55 [PATCH v4 0/5] ARM: davinci: re-arrange definitions to have a common davinci header Manjunath Hadli
2011-12-08 13:55 ` [PATCH v4 1/5] davinci: vpif: remove obsolete header file inclusion Manjunath Hadli
2011-12-08 13:55 ` [PATCH v4 2/5] ARM: davinci: dm644x: remove the macros from the header to move to c file Manjunath Hadli
2011-12-08 13:55 ` [PATCH v4 3/5] ARM: davinci: dm365: " Manjunath Hadli
2011-12-08 13:55 ` [PATCH v4 4/5] ARM: davinci: dm646x: " Manjunath Hadli
2011-12-08 13:55 ` [PATCH v4 5/5] ARM: davinci: create new common platform header for davinci Manjunath Hadli
2011-12-09 10:50   ` Sergei Shtylyov [this message]
2011-12-12 11:25 ` [PATCH v4 0/5] ARM: davinci: re-arrange definitions to have a common davinci header Nori, Sekhar
2011-12-12 15:03   ` Russell King - ARM Linux
2011-12-13  9:38   ` Hadli, Manjunath

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=4EE1E7F3.3050509@mvista.com \
    --to=sshtylyov@mvista$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox