Skip to content

Commit

Permalink
Merge branch 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/k…
Browse files Browse the repository at this point in the history
…ernel/git/airlied/drm-2.6

* 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
  drm: add idr_init to drm_stub.c
  drm: fix problem with SiS typedef with sisfb enabled.
  • Loading branch information
Linus Torvalds committed Jul 17, 2007
2 parents a5fcaa2 + 45ea5dc commit ae6f4a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/char/drm/drm_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev,
mutex_init(&dev->struct_mutex);
mutex_init(&dev->ctxlist_mutex);

idr_init(&dev->drw_idr);

dev->pdev = pdev;
dev->pci_device = pdev->device;
dev->pci_vendor = pdev->vendor;
Expand Down
2 changes: 1 addition & 1 deletion drivers/char/drm/sis_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static int sis_fb_init(DRM_IOCTL_ARGS)
mutex_lock(&dev->struct_mutex);
#if defined(CONFIG_FB_SIS)
{
drm_sman_mm_t sman_mm;
struct drm_sman_mm sman_mm;
sman_mm.private = (void *)0xFFFFFFFF;
sman_mm.allocate = sis_sman_mm_allocate;
sman_mm.free = sis_sman_mm_free;
Expand Down

0 comments on commit ae6f4a8

Please sign in to comment.