From: Jeroen Hofstee <dasuboot@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 8/8] video: imx25lcdc: add board_video_init() call
Date: Fri, 16 May 2014 22:40:35 +0200 [thread overview]
Message-ID: <1400272835.3537.2.camel@yellow> (raw)
In-Reply-To: <1400164490-14673-9-git-send-email-dietho@gmx.de>
Hello Thomas,
On do, 2014-05-15 at 16:34 +0200, dietho at gmx.de wrote:
> From: Thomas Diener <dietho@gmx.de>
>
> Signed-off-by: Thomas Diener <dietho@gmx.de>
> ---
> drivers/video/imx25lcdc.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/drivers/video/imx25lcdc.c b/drivers/video/imx25lcdc.c
> index 3b45472..94ef033 100644
> --- a/drivers/video/imx25lcdc.c
> +++ b/drivers/video/imx25lcdc.c
> @@ -23,6 +23,19 @@
> #define FB_SYNC_CLK_INV (1<<16) /* pixel clock inverted */
>
> /*
> + * We do not enforce board code to provide empty/unused
> + * functions for this driver and define weak default
> + * functions here.
> + */
> +unsigned int __board_video_init (void)
> +{
> + return 0;
> +}
> +
> +unsigned int board_video_init (void)
> + __attribute__((weak, alias("__board_video_init")));
> +
Cosmetic remark. You can merge these with a single __weak.
Regards,
Jeroen
next prev parent reply other threads:[~2014-05-16 20:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 14:34 [U-Boot] [PATCH 0/8] zmx25: Add hardware support dietho at gmx.de
2014-05-15 14:34 ` [U-Boot] [PATCH 1/8] imx25: Add new hardware registers dietho at gmx.de
2014-05-18 21:42 ` Benoît Thébaudeau
2014-05-15 14:34 ` [U-Boot] [PATCH 2/8] input: Add polytouch touch sensor controller dietho at gmx.de
2014-05-15 14:34 ` [U-Boot] [PATCH 3/8] mxc_i2c: Use the 3th i2c channel for imx25 dietho at gmx.de
2014-05-16 4:50 ` Heiko Schocher
2014-05-15 14:34 ` [U-Boot] [PATCH 4/8] input: Add support for FMA1125 touch controller dietho at gmx.de
2014-05-29 11:45 ` Michal Simek
2014-05-15 14:34 ` [U-Boot] [PATCH 5/8] input: Add support for MPR121 " dietho at gmx.de
2014-05-15 14:34 ` [U-Boot] [PATCH 6/8] zmx25: Extended support for cpu and base boards dietho at gmx.de
2014-05-15 14:34 ` [U-Boot] [PATCH 7/8] imx25: Add new registers defines dietho at gmx.de
2014-05-15 14:34 ` [U-Boot] [PATCH 8/8] video: imx25lcdc: add board_video_init() call dietho at gmx.de
2014-05-16 20:40 ` Jeroen Hofstee [this message]
2014-08-04 5:59 ` [U-Boot] [PATCH 0/8] zmx25: Add hardware support Thomas Diener
2014-08-04 20:51 ` Benoît Thébaudeau
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=1400272835.3537.2.camel@yellow \
--to=dasuboot@myspectrum.nl \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox