WSL2-Linux-Kernel/drivers/gpio
Russell King 4f5b04800a drivers/gpio/gpio-generic.c: fix build errors
Building a kernel with hotplug disabled results in a link failure:

  `bgpio_remove' referenced in section `___ksymtab_gpl+bgpio_remove' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o

This is because of bgpio_remove() is exported.  It is illegal to export
symbols which are discarded either at link time or as part of an
init/exit section.

Fix this by dropping the __devexit attributation from bgpio_remove().
Also drop the __devinit attributation from bgpio_init().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-14 18:09:38 -07:00
..
Kconfig Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-08-01 06:13:48 -10:00
Makefile Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-08-01 06:13:48 -10:00
gpio-74x164.c gpio/74x164: fix clash with gpiolib namespace 2011-06-13 09:03:48 -06:00
gpio-ab8500.c gpio: ab8500: fix MODULE_ALIAS for ab8500 2011-07-28 16:19:23 -06:00
gpio-adp5520.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-adp5588.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-bt8xx.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
gpio-cs5535.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-da9052.c gpio/da9052: remove a redundant assignment for gpio->da9052 2011-07-14 12:41:53 +09:00
gpio-ep93xx.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
gpio-exynos4.c Merge branch 'gpio/next-tegra' into gpio/next 2011-06-15 14:57:39 -06:00
gpio-generic.c drivers/gpio/gpio-generic.c: fix build errors 2011-09-14 18:09:38 -07:00
gpio-it8761e.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-janz-ttl.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-langwell.c Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-07-22 14:50:57 -07:00
gpio-max730x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max732x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max7300.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max7301.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-mc33880.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-mcp23s08.c mcp23s08: add i2c support 2011-07-15 13:54:18 -06:00
gpio-ml-ioh.c gpio/ml-ioh: fix off-by-one for displaying variable i in dev_err 2011-06-16 13:44:29 -06:00
gpio-mpc5200.c gpio: Move mpc5200 gpio driver to drivers/gpio 2011-07-06 11:57:15 -06:00
gpio-msm-v1.c gpio_msm: Move Qualcomm v6 MSM driver into drivers 2011-08-01 04:58:00 -07:00
gpio-msm-v2.c gpio_msm: Move Qualcomm MSM v2 gpio driver into drivers 2011-08-01 04:58:00 -07:00
gpio-mxc.c gpio/mxc/mxs: fix build error introduced by the irq_gc_ack() renaming 2011-07-19 13:10:02 -06:00
gpio-mxs.c gpio/mxc/mxs: fix build error introduced by the irq_gc_ack() renaming 2011-07-19 13:10:02 -06:00
gpio-nomadik.c gpio/nomadik: fix sleepmode for elder Nomadik 2011-06-09 15:03:38 -06:00
gpio-omap.c Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-07-22 14:50:57 -07:00
gpio-pca953x.c gpio/pca953x: Deprecate meaningless device-tree bindings 2011-06-16 13:41:50 -06:00
gpio-pcf857x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-pch.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-pl061.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-plat-samsung.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-rdc321x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-s5pc100.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-s5pv210.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-sch.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-stmpe.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-sx150x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-tc3589x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-tegra.c gpio/tegra: Use engineering names in DT compatible property 2011-07-05 23:36:32 -06:00
gpio-timberdale.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-tps65910.c Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-07-22 14:50:57 -07:00
gpio-tps65912.c tps65912: gpio: add gpio driver 2011-07-31 23:28:22 +02:00
gpio-twl4030.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-u300.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
gpio-ucb1400.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-vr41xx.c gpio/vr41xx: Convert use of struct resource to resource_size(ptr) 2011-06-10 23:37:10 -06:00
gpio-vx855.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-wm831x.c Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-07-22 14:50:57 -07:00
gpio-wm8350.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-wm8994.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-xilinx.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpiolib.c gpio: make gpio_{request,free}_array gpio array parameter const 2011-05-27 17:56:45 -06:00