Skip to content

Commit

Permalink
include/linux/sdla.h: remove the prototype of sdla()
Browse files Browse the repository at this point in the history
`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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
congwang authored and davem330 committed Jul 18, 2011
1 parent 0b8f627 commit a07c796
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/linux/sdla.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a07c796

Please sign in to comment.