]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
trivial: don't touch files that are removed in the staging tree
authorJiri Kosina <jkosina@suse.cz>
Wed, 20 Jul 2011 09:59:21 +0000 (11:59 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 20 Jul 2011 09:59:21 +0000 (11:59 +0200)
This is a partial revert of e44ba033c565 ("treewide: remove duplicate
includes") and 28f65c11f2ff ("treewide: Convert uses of struct resource
to resource_size(ptr)") as the files in question have been removed in
staging tree, so get rid of the conflict.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/staging/generic_serial/ser_a2232.c
drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h
drivers/staging/westbridge/astoria/gadget/cyasgadget.h

index 0c08e1c2558331cafe2667922f9f82bc4c8d0800..3f47c2ead8e51790bc7dc14686ec5776d6dd28b9 100644 (file)
@@ -746,8 +746,7 @@ static int __init a2232board_init(void)
                zd_a2232[nr_a2232] = z;
 
                boardaddr = ZTWO_VADDR( z->resource.start );
-               printk("Board is located at address 0x%x, size is 0x%x\n",
-                      boardaddr, (unsigned int)resource_size(&z->resource));
+               printk("Board is located at address 0x%x, size is 0x%x.\n", boardaddr, (unsigned int) ((z->resource.end+1) - (z->resource.start)));
 
                mem = (volatile struct a2232memory *) boardaddr;
 
index 1e9212fbf1a63e1d6bb88b3b74452dc8a21db37b..6426ea61f3d4173ff1d8fd7073ad849aa74a7785 100644 (file)
@@ -315,5 +315,5 @@ void cy_as_hal_set_ep_dma_mode(uint8_t ep, bool sg_xfer_enabled);
 /* moved to staging location
 #include <linux/westbridge/cyas_cplus_end.h>
 */
-#include "../../../../../../../include/linux/westbridge/cyas_cplus_end.h"
+#include "../../../../../../../include/linux/westbridge/cyas_cplus_start.h"
 #endif
index 668e03f9e8ad8393b66eaebff87d91cffb7739b7..e01cea7eeb77b5449124b68aba975ba8d35b86a3 100644 (file)
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/sched.h>
-#include <linux/module.h>
-#include <linux/init.h>
 
 #include "../include/linux/westbridge/cyastoria.h"
 #include "../include/linux/westbridge/cyashal.h"
 #include "../include/linux/westbridge/cyasdevice.h"
 #include "cyasgadget_ioctl.h"
 
+#include <linux/module.h>
+#include <linux/init.h>
+
 /*char driver defines, revisit*/
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/init.h>
 #include <linux/fs.h>          /* everything... */
 #include <linux/errno.h>       /* error codes */
 #include <linux/types.h>       /* size_t */