Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38057
b: refs/heads/master
c: c1cc53b
h: refs/heads/master
i:
  38055: 9783419
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Oct 3, 2006
1 parent a56c850 commit f2970be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a727dea774c47ad1e18907be33f12c9f325ee4a
refs/heads/master: c1cc53be0fc112cc8cb21ac4e0ab1af0a4082943
8 changes: 5 additions & 3 deletions trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -3863,6 +3863,7 @@ static int __devinit atyfb_setup(char *options)

static int __devinit atyfb_init(void)
{
int err1 = 1, err2 = 1;
#ifndef MODULE
char *option = NULL;

Expand All @@ -3872,12 +3873,13 @@ static int __devinit atyfb_init(void)
#endif

#ifdef CONFIG_PCI
pci_register_driver(&atyfb_driver);
err1 = pci_register_driver(&atyfb_driver);
#endif
#ifdef CONFIG_ATARI
atyfb_atari_probe();
err2 = atyfb_atari_probe();
#endif
return 0;

return (err1 && err2) ? -ENODEV : 0;
}

static void __exit atyfb_exit(void)
Expand Down

0 comments on commit f2970be

Please sign in to comment.