linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: linux-next: Tree for Sept 21 (misc/lis3lv02d DT code)
Date: Fri, 21 Sep 2012 23:17:58 +0200	[thread overview]
Message-ID: <505CD986.1050502@gmail.com> (raw)
In-Reply-To: <505CA874.3050803@xenotime.net>

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

On 21.09.2012 19:48, Randy Dunlap wrote:
> On 09/21/2012 12:01 AM, Stephen Rothwell wrote:
> 
>> Hi all,
>>
>> Changes since 201209020:
>>
> 
> 
> 
> on i386:
> 
> ERROR: "lis3lv02d_init_dt" [drivers/misc/lis3lv02d/lis3lv02d_i2c.ko] undefined!
> 
> Full randconfig file is attached.
> 

Hmm, I cannot reproduce that on my machine with your config, but the
attached patch should fix it.

Andrew, you already have a patch queued up for this driver - could you
fold that one maybe after Randy signals success?


Thanks,
Daniel


[-- Attachment #2: 0001-misc-lis3-fix-undefined-reference-to-lis3lv02d_init_.patch --]
[-- Type: text/x-patch, Size: 845 bytes --]

>From 7b3210ec41a40f2b667f57eb4478eb5a149199c8 Mon Sep 17 00:00:00 2001
From: Daniel Mack <zonque@gmail.com>
Date: Fri, 21 Sep 2012 23:14:29 +0200
Subject: [PATCH] misc: lis3: fix undefined reference to lis3lv02d_init_dt

Export the symbol to fix linker errors.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/misc/lis3lv02d/lis3lv02d.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/lis3lv02d/lis3lv02d.c b/drivers/misc/lis3lv02d/lis3lv02d.c
index 026021e..f9c24ab 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d.c
@@ -1089,6 +1089,7 @@ int lis3lv02d_init_dt(struct lis3lv02d *lis3)
 	return 0;
 }
 #endif
+EXPORT_SYMBOL_GPL(lis3lv02d_init_dt);
 
 /*
  * Initialise the accelerometer and the various subsystems.
-- 
1.7.11.4


  reply	other threads:[~2012-09-21 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21  7:01 linux-next: Tree for Sept 21 Stephen Rothwell
2012-09-21 17:48 ` linux-next: Tree for Sept 21 (misc/lis3lv02d DT code) Randy Dunlap
2012-09-21 21:17   ` Daniel Mack [this message]
2012-09-21 19:05 ` linux-next: Tree for Sept 21 (olpc) Randy Dunlap

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=505CD986.1050502@gmail.com \
    --to=zonque@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    --cc=sfr@canb.auug.org.au \
    /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;
as well as URLs for NNTP newsgroup(s).