login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
6
Re: [PATCH] [POWERPC] Fix of_i2c include for module compilation
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jochen Friedrich
Subject:
Re: [PATCH] [POWERPC] Fix of_i2c include for module compilation
Date: Tuesday, May 6, 2008 - 11:39 am
Hi Paul,
quoted text
>> -#ifdef CONFIG_OF_I2C >> +#if defined(CONFIG_OF_I2C) || defined(CONFIG_OF_I2C_MODULE) >> >> void of_register_i2c_devices(struct i2c_adapter *adap, >> struct device_node *adap_node); > > Why do we have that ifdef there at all? There's only that one > external declaration within it, so the #ifdef and #endif could just be > removed. If the ifdef hadn't been there in the first place we > wouldn't have had this problem.
You're right. I mainly copied from of_gpio.h without too much thinking :(. I'll resend. Thanks, Jochen --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] [POWERPC] Fix of_i2c include for module compilation
, Jochen Friedrich
, (Sat May 3, 5:42 am)
Re: [PATCH] [POWERPC] Fix of_i2c include for module compil ...
, Paul Mackerras
, (Sun May 4, 9:15 pm)
Re: [PATCH] [POWERPC] Fix of_i2c include for module compil ...
, Jochen Friedrich
, (Tue May 6, 11:39 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Adrian Bunk
[RFC: 2.6 patch] remove the broken SUN_AURORA driver
David Howells
Re: [PATCH 5/5]bluetooth:hci_bcsp Fix operation on 'bcsp->msgq_txseq' may be un...
Francis Moreau
Re: Disk geometry from /sys
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Eberhard Moenkeberg
Re: OT: character encodings (was: Linux 2.6.20-rc4)
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Tait
Re: [PATCH] Replace hard-coded path with one from <paths.h>
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Frans Pop
'git gc --aggressive' effectively unusable
git-commits-head
:
Linux Kernel Mailing List
ACPICA: Fix to allow zero-length ASL field declarations
Linux Kernel Mailing List
tracing: Simplify trace_option_write()
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
hwmon: (lm77) Convert to a new-style i2c driver
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
David Miller
Re: [PATCH] IPv6: preferred lifetime of address not getting updated
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Mark McLoughlin
Re: [PATCH 2/3] virtio: fix delayed xmit of packet and freeing of old packets.
openbsd-misc
:
Samuel Baldwin
Re: Forum engine
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
Marcin
Re: 4.6 reboots x336 ibm server(s)
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Colocation donated by:
Syndicate