]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rt2x00: fix rt2800pci compilation with SoC
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 2 Mar 2010 15:34:49 +0000 (16:34 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Mar 2010 19:31:37 +0000 (14:31 -0500)
commit6e93d7195e75741e9ebe23ca5591977d0b39ecc0
treedf6e84d20f9ad5aa2b95a820f6ab2beee78a8565
parent51b2853fd91a3c8fd9f3adc1549569d2c1dc2a2d
rt2x00: fix rt2800pci compilation with SoC

Compiling rt2800pci with CONFIG_RT2800PCI_SOC fails with "... rt2880pci.c:
error: incompatible type for argument 2 of 'rt2x00soc_probe'".

Fix this by using &rt2800pci_ops instead of rt2800pci_ops.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c