Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

include/linux/sdla.h: remove the prototype of sdla()

`make headers_check` complains that

linux-2.6/usr/include/linux/sdla.h:116: userspace cannot reference
function or variable defined in the kernel

this is due to that there is no such a kernel function,

void sdla(void *cfg_info, char *dev, struct frad_conf *conf, int quiet);

I don't know why we have it in a kernel header, so remove it.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

WANG Cong and committed by
David S. Miller
a07c7964 0b8f6273

+1 -5
+1 -5
include/linux/sdla.h
··· 112 112 short Tb_max; 113 113 }; 114 114 115 - #ifndef __KERNEL__ 116 - 117 - void sdla(void *cfg_info, char *dev, struct frad_conf *conf, int quiet); 118 - 119 - #else 115 + #ifdef __KERNEL__ 120 116 121 117 /* important Z80 window addresses */ 122 118 #define SDLA_CONTROL_WND 0xE000