]> git.hungrycats.org Git - linux/commit
[PATCH] cyber2000: fix init/exit section confusion
authorRandy Dunlap <rddunlap@osdl.org>
Wed, 13 Oct 2004 14:26:49 +0000 (07:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 13 Oct 2004 14:26:49 +0000 (07:26 -0700)
commit056bb24da65801eb64a28e82edc1e16cd280121b
tree28633d6eb887eaa0264c41f14386f7b0cb27e741
parent139a613436105f6e6196f1319686265c17d0ea2e
[PATCH] cyber2000: fix init/exit section confusion

- cyberpro_free_fb_info() is called by both __devinit & __devexit code,
  so it cannot be __devinit.

- igs_regs[] is used by resume code (indirectly), so it cannot be
  discardable.

This leaves one reference in cyber2000fb that 'make buildcheck' complains
about, but I believe that it's OK, that being ".probe" here:

static struct pci_driver cyberpro_driver =
{
.name = "CyberPro",
.probe = cyberpro_pci_probe,

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/cyber2000fb.c