mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:50:54 +07:00
[PATCH] drivers/isdn/hardware/avm/: misc cleanups
This patch contains the following cleanups: - make some needlessly global functions static - b1dma.c __init/__exit the functions b1dma_{init,exit} Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
35a26f1509
commit
08e51533a0
@ -955,7 +955,7 @@ EXPORT_SYMBOL(b1dma_release_appl);
|
||||
EXPORT_SYMBOL(b1dma_send_message);
|
||||
EXPORT_SYMBOL(b1dmactl_read_proc);
|
||||
|
||||
int b1dma_init(void)
|
||||
static int __init b1dma_init(void)
|
||||
{
|
||||
char *p;
|
||||
char rev[32];
|
||||
@ -972,7 +972,7 @@ int b1dma_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void b1dma_exit(void)
|
||||
static void __exit b1dma_exit(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -885,7 +885,7 @@ static int c4_load_firmware(struct capi_ctr *ctrl, capiloaddata *data)
|
||||
}
|
||||
|
||||
|
||||
void c4_reset_ctr(struct capi_ctr *ctrl)
|
||||
static void c4_reset_ctr(struct capi_ctr *ctrl)
|
||||
{
|
||||
avmcard *card = ((avmctrl_info *)(ctrl->driverdata))->card;
|
||||
avmctrl_info *cinfo;
|
||||
@ -933,7 +933,7 @@ static void c4_remove(struct pci_dev *pdev)
|
||||
/* ------------------------------------------------------------- */
|
||||
|
||||
|
||||
void c4_register_appl(struct capi_ctr *ctrl,
|
||||
static void c4_register_appl(struct capi_ctr *ctrl,
|
||||
u16 appl,
|
||||
capi_register_params *rp)
|
||||
{
|
||||
@ -978,7 +978,7 @@ void c4_register_appl(struct capi_ctr *ctrl,
|
||||
|
||||
/* ------------------------------------------------------------- */
|
||||
|
||||
void c4_release_appl(struct capi_ctr *ctrl, u16 appl)
|
||||
static void c4_release_appl(struct capi_ctr *ctrl, u16 appl)
|
||||
{
|
||||
avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
|
||||
avmcard *card = cinfo->card;
|
||||
|
@ -328,7 +328,7 @@ static int t1isa_load_firmware(struct capi_ctr *ctrl, capiloaddata *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void t1isa_reset_ctr(struct capi_ctr *ctrl)
|
||||
static void t1isa_reset_ctr(struct capi_ctr *ctrl)
|
||||
{
|
||||
avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
|
||||
avmcard *card = cinfo->card;
|
||||
|
Loading…
Reference in New Issue
Block a user