public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 4/4] lin_gadget: use common linux/compat.h
Date: Mon, 30 Apr 2012 16:51:43 +0200	[thread overview]
Message-ID: <20120430165143.47fe6ee3@wker> (raw)
In-Reply-To: <1335443684-11433-1-git-send-email-agust@denx.de>

On Thu, 26 Apr 2012 14:34:44 +0200
Anatolij Gustschin <agust@denx.de> wrote:

> From: Mike Frysinger <vapier@gentoo.org>
> 
> Merge our duplicate definitions with the common header.
> 
> Also fix drivers/usb/gadget/s3c_udc_otg_xfer_dma.c to
> use min() instead of min_t() since we remove the latter
> from compat.h.
> 
> Additionally use memalign() directly as the lin_gadget
> specific kmalloc() macro is removed from lin_gadget_compat.h
> by this patch.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Cc: Lukasz Majewski <l.majewski@samsung.com>
> ---
>  v3:
>   - use memalign() in the s3c_udc_otg driver directly
> 
>  v2:
>   - fix build breakage:
>     In file included from s3c_udc_otg.c:212:0:
>     s3c_udc_otg_xfer_dma.c: In function 'setdma_tx':
>     s3c_udc_otg_xfer_dma.c:171:47: error: macro "min_t" requires 3 arguments, but only 2 given
>     s3c_udc_otg_xfer_dma.c:171:12: error: 'min_t' undeclared (first use in this function)
> 
>  drivers/usb/gadget/s3c_udc_otg.c          |    5 +++--
>  drivers/usb/gadget/s3c_udc_otg_xfer_dma.c |    2 +-
>  include/linux/compat.h                    |    3 +++
>  include/usb/lin_gadget_compat.h           |   15 ++-------------
>  4 files changed, 9 insertions(+), 16 deletions(-)

Applied to u-boot-staging/agust at denx.de. Thanks!

Anatolij

  reply	other threads:[~2012-04-30 14:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09 23:39 [U-Boot] [PATCH 1/4] gunzip: rename z{alloc, free} to gz{alloc, free} Mike Frysinger
2012-04-09 23:39 ` [U-Boot] [PATCH 2/4] lin_gadget: use common mdelay Mike Frysinger
2012-04-26 12:48   ` Anatolij Gustschin
2012-04-09 23:39 ` [U-Boot] [PATCH 3/4] linux/compat.h: rename from linux/mtd/compat.h Mike Frysinger
2012-04-26 13:03   ` Anatolij Gustschin
2012-04-09 23:39 ` [U-Boot] [PATCH 4/4] lin_gadget: use common linux/compat.h Mike Frysinger
2012-04-25  8:11   ` [U-Boot] [PATCH v2 " Anatolij Gustschin
2012-04-25 15:14     ` Mike Frysinger
2012-04-25 15:58     ` Lukasz Majewski
2012-04-26  9:03       ` Anatolij Gustschin
2012-04-26 10:32         ` Lukasz Majewski
2012-04-26 10:55           ` Anatolij Gustschin
2012-04-26 12:34     ` [U-Boot] [PATCH v3 " Anatolij Gustschin
2012-04-30 14:51       ` Anatolij Gustschin [this message]
2012-04-26 12:47 ` [U-Boot] [PATCH 1/4] gunzip: rename z{alloc, free} to gz{alloc, free} Anatolij Gustschin

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=20120430165143.47fe6ee3@wker \
    --to=agust@denx.de \
    --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