mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
[PATCH] mpu401 section fix
WARNING: sound/drivers/mpu401/snd-mpu401.o - Section mismatch: reference to .init.text: from .text between 'snd_mpu401_pnp_probe' (at offset 0x1f7) and 'snd_mpu401_pnp_remove' Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
9e8a3d229b
commit
fad43488b8
@ -151,7 +151,7 @@ static struct pnp_device_id snd_mpu401_pnpids[] = {
|
||||
|
||||
MODULE_DEVICE_TABLE(pnp, snd_mpu401_pnpids);
|
||||
|
||||
static int __init snd_mpu401_pnp(int dev, struct pnp_dev *device,
|
||||
static int __devinit snd_mpu401_pnp(int dev, struct pnp_dev *device,
|
||||
const struct pnp_device_id *id)
|
||||
{
|
||||
if (!pnp_port_valid(device, 0) ||
|
||||
|
Loading…
Reference in New Issue
Block a user