Skip to content

Commit

Permalink
smc91x: pass along private data V2
Browse files Browse the repository at this point in the history
Pass a private data pointer to macros and functions. This makes it easy
to later on make run time decisions. This patch does not change any logic.
These changes should be optimized away during compilation.

V2 changes the macro argument name from "priv" to "lp".

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Magnus Damm authored and Jeff Garzik committed Mar 17, 2008
1 parent cf374a8 commit cfdfa86
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 275 deletions.
Loading

0 comments on commit cfdfa86

Please sign in to comment.