From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 25 Apr 2012 11:14:54 -0400 Subject: [U-Boot] [PATCH v2 4/4] lin_gadget: use common linux/compat.h In-Reply-To: <1335341501-4270-1-git-send-email-agust@denx.de> References: <1334014796-4627-4-git-send-email-vapier@gentoo.org> <1335341501-4270-1-git-send-email-agust@denx.de> Message-ID: <201204251114.56793.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 25 April 2012 04:11:41 Anatolij Gustschin wrote: > From: Mike Frysinger > > 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. > > Signed-off-by: Mike Frysinger > Signed-off-by: Anatolij Gustschin > --- > 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) we'll prob want to merge the mtd/compat.h stuff in to linux/compat.h, like the min_t() macro -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: