Thread (8 messages) 8 messages, 4 authors, 2011-06-17

Re: Changes to of_device ?

From: Guillaume Dargaud <hidden>
Date: 2011-06-17 12:17:43

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help