Changes to of_device ?

Guillaume Dargaud dargaud at lpsc.in2p3.fr
Fri Jun 17 21:22:19 EST 2011


> 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/


More information about the Linuxppc-dev mailing list