Skip to content

Commit

Permalink
[PATCH] Fix tgafb.c compile failure
Browse files Browse the repository at this point in the history
The untested patch below should fix this compile error.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Apr 21, 2005
1 parent e4ec0f2 commit 62b56fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/video/tgafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ static void tgafb_fillrect(struct fb_info *, const struct fb_fillrect *);
static void tgafb_copyarea(struct fb_info *, const struct fb_copyarea *);

static int tgafb_pci_register(struct pci_dev *, const struct pci_device_id *);
#ifdef MODULE
static void tgafb_pci_unregister(struct pci_dev *);
#endif

static const char *mode_option = "640x480@60";

Expand Down Expand Up @@ -1484,7 +1482,6 @@ tgafb_pci_register(struct pci_dev *pdev, const struct pci_device_id *ent)
return ret;
}

#ifdef MODULE
static void __exit
tgafb_pci_unregister(struct pci_dev *pdev)
{
Expand All @@ -1500,6 +1497,7 @@ tgafb_pci_unregister(struct pci_dev *pdev)
kfree(info);
}

#ifdef MODULE
static void __exit
tgafb_exit(void)
{
Expand Down

0 comments on commit 62b56fa

Please sign in to comment.