Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317573
b: refs/heads/master
c: 128e861
h: refs/heads/master
i:
  317571: c129d0b
v: v3
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Jun 26, 2012
1 parent 34ec014 commit 94d7dba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 50b238b186d4ac77da07a0fa0261467f9431581b
refs/heads/master: 128e8616faff1a863ad9f8e865e255ee4d36bed4
16 changes: 8 additions & 8 deletions trunk/drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,14 @@ static struct smtcfb_info *smtc_alloc_fb_info(struct pci_dev *pdev, char *name)
return sfb;
}

/*
* free struct smtcfb_info
*/
static void smtc_free_fb_info(struct smtcfb_info *sfb)
{
kfree(sfb);
}

/*
* Unmap in the memory mapped IO registers
*/
Expand Down Expand Up @@ -755,14 +763,6 @@ static inline void sm7xx_init_hw(void)
outb_p(0x11, 0x3c5);
}

static void smtc_free_fb_info(struct smtcfb_info *sfb)
{
if (sfb) {
fb_alloc_cmap(&sfb->fb.cmap, 0, 0);
kfree(sfb);
}
}

/*
* sm712vga_setup - process command line options, get vga parameter
* @options: string of options
Expand Down

0 comments on commit 94d7dba

Please sign in to comment.