]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
include/linux/sdla.h: remove the prototype of sdla()
authorWANG Cong <xiyou.wangcong@gmail.com>
Sat, 16 Jul 2011 22:22:20 +0000 (22:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2011 18:06:03 +0000 (11:06 -0700)
`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>
include/linux/sdla.h

index 564acd3a71c1a89b0dcc9175b8f3068cf9e086c7..9995c7fc3f60ce08e2b7474fc6cd955ce736e7a5 100644 (file)
@@ -112,11 +112,7 @@ struct sdla_dlci_conf {
    short Tb_max;
 };
 
-#ifndef __KERNEL__
-
-void sdla(void *cfg_info, char *dev, struct frad_conf *conf, int quiet);
-
-#else
+#ifdef __KERNEL__
 
 /* important Z80 window addresses */
 #define SDLA_CONTROL_WND               0xE000