Uwe Kleine-König writes:
> in the linux kernel I defined a function as follows:
>
> static struct platform_device *__init __maybe_unused
> imx_add_imx_dma(void)
> {
> ...
> }
>
> and the only used was #ifdefed out.
>
> With the following defines:
>
> #define
Hello,
in the linux kernel I defined a function as follows:
static struct platform_device *__init __maybe_unused
imx_add_imx_dma(void)
{
...
}
and the only used was #ifdefed out.
With the following defines:
#define __section(S) __attribute__ ((_