From: Guillaume Dargaud <dargaud@lpsc.in2p3.fr>
To: linuxppc-dev@lists.ozlabs.org
Subject: Re: Changes to of_device ?
Date: Fri, 17 Jun 2011 13:22:19 +0200 [thread overview]
Message-ID: <201106171322.19067.dargaud@lpsc.in2p3.fr> (raw)
In-Reply-To: <4DFB329A.7010104@gate-nine.de>
> Not answering your primary question here, but in order to print the most
> recent tag (along with a uniqe suffix, see man page) that is reachable
> from your current branch, you can use "git describe". It will print out
> the kernel version on your latest Xilinx tree.
$ git describe
v2.6.37-719-gecf08a4
$ cat ./include/linux/version.h
#define LINUX_VERSION_CODE 132645
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
$ printf "%x\n" 132645
20625
Something doesn't quite match here... But my original question about how do you declare a probe function in the latest
kernels still stand...
--
Guillaume Dargaud
http://www.gdargaud.net/
next prev parent reply other threads:[~2011-06-17 12:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 9:19 Changes to of_device ? Guillaume Dargaud
2011-06-17 10:55 ` Philipp Ittershagen
2011-06-17 11:22 ` Guillaume Dargaud [this message]
2011-06-17 12:57 ` Philipp Ittershagen
2011-06-17 13:06 ` Philipp Ittershagen
2011-06-17 13:53 ` Guillaume Dargaud
2011-06-17 14:08 ` Grant Likely
2011-06-17 14:23 ` David Laight
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=201106171322.19067.dargaud@lpsc.in2p3.fr \
--to=dargaud@lpsc.in2p3.fr \
--cc=linuxppc-dev@lists.ozlabs.org \
/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