函数指针的定义和使用

int (*probe)(struct platform_device *);

这是声明了一个函数指针probe,它的参数是一个platform_device类的指针,返回值是int。
比如说我们声明了一个函数int func(struct platform_device *),那么可以令probe = func,对func()调用可以用probe()代替。

原文地址:https://www.cnblogs.com/god-of-death/p/9220993.html