V4L/DVB (6797): bt8xx/ section fixes
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n: <-- snip --> ... ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
056827a49c
commit
7d44e89218
@@ -5080,7 +5080,7 @@ static void PXC200_muxsel(struct bttv *btv, unsigned int input)
|
|||||||
/* ----------------------------------------------------------------------- */
|
/* ----------------------------------------------------------------------- */
|
||||||
/* motherboard chipset specific stuff */
|
/* motherboard chipset specific stuff */
|
||||||
|
|
||||||
void __devinit bttv_check_chipset(void)
|
void __init bttv_check_chipset(void)
|
||||||
{
|
{
|
||||||
int pcipci_fail = 0;
|
int pcipci_fail = 0;
|
||||||
struct pci_dev *dev = NULL;
|
struct pci_dev *dev = NULL;
|
||||||
|
@@ -4985,7 +4985,7 @@ static struct pci_driver bttv_pci_driver = {
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static int bttv_init_module(void)
|
static int __init bttv_init_module(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@@ -5018,7 +5018,7 @@ static int bttv_init_module(void)
|
|||||||
return pci_register_driver(&bttv_pci_driver);
|
return pci_register_driver(&bttv_pci_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void bttv_cleanup_module(void)
|
static void __exit bttv_cleanup_module(void)
|
||||||
{
|
{
|
||||||
pci_unregister_driver(&bttv_pci_driver);
|
pci_unregister_driver(&bttv_pci_driver);
|
||||||
bus_unregister(&bttv_sub_bus_type);
|
bus_unregister(&bttv_sub_bus_type);
|
||||||
|
Reference in New Issue
Block a user