Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/21/19 1:05 PM, Arnd Bergmann wrote: > On Fri, Jun 21, 2019 at 12:58 PM Bartlomiej Zolnierkiewicz > wrote: >> >> On 6/17/19 3:16 PM, Arnd Bergmann wrote: >>> When the driver is built-in for PCI, we reference the exit function >>> after discarding it: >>> >>> `pvr2fb_pci_exit' referenced in

Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Arnd Bergmann
On Fri, Jun 21, 2019 at 12:58 PM Bartlomiej Zolnierkiewicz wrote: > > On 6/17/19 3:16 PM, Arnd Bergmann wrote: > > When the driver is built-in for PCI, we reference the exit function > > after discarding it: > > > > `pvr2fb_pci_exit' referenced in section `.ref.data' of > >

Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Bartlomiej Zolnierkiewicz
Hi, On 6/17/19 3:16 PM, Arnd Bergmann wrote: > When the driver is built-in for PCI, we reference the exit function > after discarding it: > > `pvr2fb_pci_exit' referenced in section `.ref.data' of > drivers/video/fbdev/pvr2fb.o: defined in discarded section `.exit.text' of >

[PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-17 Thread Arnd Bergmann
When the driver is built-in for PCI, we reference the exit function after discarding it: `pvr2fb_pci_exit' referenced in section `.ref.data' of drivers/video/fbdev/pvr2fb.o: defined in discarded section `.exit.text' of drivers/video/fbdev/pvr2fb.o Just remove the __exit annotation as the