Re: [PATCH] coresight: remove broken __exit annotations

2020-12-04 Thread Mathieu Poirier
On Fri, Dec 04, 2020 at 12:11:40AM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Functions that are annotated __exit are discarded for built-in drivers, > but the .remove callback in a device driver must still be kept around > to allow bind/unbind operations. > > There is now a linker wa

Re: [PATCH] coresight: remove broken __exit annotations

2020-12-03 Thread Stephen Boyd
Quoting Arnd Bergmann (2020-12-03 15:11:40) > From: Arnd Bergmann > > Functions that are annotated __exit are discarded for built-in drivers, > but the .remove callback in a device driver must still be kept around > to allow bind/unbind operations. > > There is now a linker warning for the disca

[PATCH] coresight: remove broken __exit annotations

2020-12-03 Thread Arnd Bergmann
From: Arnd Bergmann Functions that are annotated __exit are discarded for built-in drivers, but the .remove callback in a device driver must still be kept around to allow bind/unbind operations. There is now a linker warning for the discarded symbol references: `tmc_remove' referenced in sectio