diff options
author | Dave Airlie <airlied@linux.ie> | 2005-02-07 11:20:43 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-02-07 11:20:43 +0000 |
commit | 03ddea5b274a515528ea58db62f7b5f779430c5b (patch) | |
tree | 2c517b24c88ba20606176f4db5331c16970d60dc /linux-core/drm_stub.c | |
parent | 300e0866d68d40af9271a588bd93522e4e7a339c (diff) |
change DRIVER_ to CORE_ makes things look nicer, also change it so the
driver name is marked on resource allocations
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r-- | linux-core/drm_stub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c index 207189f1..2165dc58 100644 --- a/linux-core/drm_stub.c +++ b/linux-core/drm_stub.c @@ -41,8 +41,8 @@ unsigned int cards_limit = 16; /* Enough for one machine */ unsigned int drm_debug = 0; /* 1 to enable debug output */ EXPORT_SYMBOL(drm_debug); -MODULE_AUTHOR(DRIVER_AUTHOR); -MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_AUTHOR(CORE_AUTHOR); +MODULE_DESCRIPTION(CORE_DESC); MODULE_LICENSE("GPL and additional rights"); MODULE_PARM_DESC(cards_limit, "Maximum number of graphics cards"); MODULE_PARM_DESC(drm_debug, "Enable debug output"); @@ -154,7 +154,7 @@ int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent, if (!drm_fb_loaded) { pci_set_drvdata(pdev, dev); - pci_request_regions(pdev, DRIVER_NAME); + pci_request_regions(pdev, driver->pci_driver.name); pci_enable_device(pdev); } if ((ret = fill_in_dev(dev, pdev, ent, driver))) { |