Thread (25 messages) 25 messages, 6 authors, 2013-12-06

[PATCH v4 1/3] mfd: tps6586x: add version detection

From: broonie@kernel.org (Mark Brown)
Date: 2013-12-04 11:49:45
Also in: linux-tegra, lkml

On Wed, Dec 04, 2013 at 10:07:28AM +0000, Lee Jones wrote:
On Wed, 04 Dec 2013, Stefan Agner wrote:
quoted
As I pointed out in the comment above, the struct tps6586x is in the C
file, so I would need to move that too. That's why I did not made that
change in the end. What do you think, should I still move (and move the
struct too?) 
Why would the struct have to be moved if the function is inline?
If the function is in the header and trying to use a struct that's only
defined in the C file then it's not going to build - keeping the struct
in the C file only does seem like a worthwhile thing for encapsulation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131204/971a8602/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help