Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=15f189e9780d2859ee2bd5ee6b7180a010a9ebf5
Commit:     15f189e9780d2859ee2bd5ee6b7180a010a9ebf5
Parent:     93566ad8068a968c3e72951b4539eb9da661446d
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 9 17:39:52 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:44:20 2007 -0300

    V4L/DVB (5397): Saa7134: fix MODULES=n compilation
    
    This patch fixes the following compile error with CONFIG_MODULES=n:
      CC      drivers/media/video/saa7134/saa7134-core.o
    
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc2-mm1/drivers/media/video/saa7134/saa7134-core.c:979:24:
 error: macro "request_submodules" passed 1 arguments, but takes just 0
    
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc2-mm1/drivers/media/video/saa7134/saa7134-core.c:
 In function 'saa7134_initdev':
    
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc2-mm1/drivers/media/video/saa7134/saa7134-core.c:979:
 error: 'request_submodules' undeclared (first use in this function)
    
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc2-mm1/drivers/media/video/saa7134/saa7134-core.c:979:
 error: (Each undeclared identifier is reported only once
    
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc2-mm1/drivers/media/video/saa7134/saa7134-core.c:979:
 error: for each function it appears in.)
    make[5]: *** [drivers/media/video/saa7134/saa7134-core.o] Error 1
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/saa7134/saa7134-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/saa7134/saa7134-core.c 
b/drivers/media/video/saa7134/saa7134-core.c
index ad982a2..e62f6e8 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -203,7 +203,7 @@ static void request_submodules(struct saa7134_dev *dev)
 }
 
 #else
-#define request_submodules()
+#define request_submodules(dev)
 #endif /* CONFIG_MODULES */
 
 /* ------------------------------------------------------------------ */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to