public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] GPMC driver warning fix
@ 2006-12-03 20:38 Syed Mohammed, Khasim
  2006-12-11 21:58 ` tony
  0 siblings, 1 reply; 2+ messages in thread
From: Syed Mohammed, Khasim @ 2006-12-03 20:38 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 94 bytes --]

Hi,

 

This patch is to fix a GPMC driver warning / error.

 

Regards,

Khasim


[-- Attachment #2: gpmc_errorfix.patch --]
[-- Type: application/octet-stream, Size: 852 bytes --]

To fix return type for GPMC api.

Signed-off-by: Syed Mohammed Khasim  <x0khasim@ti.com>

Files Changed:
 gpmc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

=============================================================================
diff -purN linux-omap/arch/arm/mach-omap2/gpmc.c devpt_branch/arch/arm/mach-omap2/gpmc.c
--- linux-omap/arch/arm/mach-omap2/gpmc.c	2006-12-01 01:18:36.000000000 -0600
+++ devpt_branch/arch/arm/mach-omap2/gpmc.c	2006-12-03 12:13:02.000000000 -0600
@@ -264,13 +264,14 @@ static int gpmc_cs_mem_enabled(int cs)
 	return l & (1 << 6);
 }
 
-void gpmc_cs_set_reserved(int cs, int reserved)
+int gpmc_cs_set_reserved(int cs, int reserved)
 {
 	if (cs > GPMC_CS_NUM)
 		return -ENODEV;
 
 	gpmc_cs_map &= ~(1 << cs);
 	gpmc_cs_map |= (reserved ? 1 : 0) << cs;
+	return 0;
 }
 
 int gpmc_cs_reserved(int cs)

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] GPMC driver warning fix
  2006-12-03 20:38 [PATCH] GPMC driver warning fix Syed Mohammed, Khasim
@ 2006-12-11 21:58 ` tony
  0 siblings, 0 replies; 2+ messages in thread
From: tony @ 2006-12-11 21:58 UTC (permalink / raw)
  To: Syed Mohammed, Khasim; +Cc: linux-omap-open-source

* Syed Mohammed, Khasim <x0khasim@ti.com> [061203 12:38]:
> Hi,
> 
>  
> 
> This patch is to fix a GPMC driver warning / error.

Pushing this and the header patch as a single commit.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-11 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-03 20:38 [PATCH] GPMC driver warning fix Syed Mohammed, Khasim
2006-12-11 21:58 ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox