|
@@ -95,7 +95,7 @@ int drm_agp_info_ioctl(struct drm_device *dev, void *data,
|
|
|
* Verifies the AGP device hasn't been acquired before and calls
|
|
|
* \c agp_backend_acquire.
|
|
|
*/
|
|
|
-int drm_agp_acquire(struct drm_device * dev)
|
|
|
+int drm_agp_acquire(struct drm_device *dev)
|
|
|
{
|
|
|
if (!dev->agp)
|
|
|
return -ENODEV;
|
|
@@ -135,7 +135,7 @@ int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,
|
|
|
*
|
|
|
* Verifies the AGP device has been acquired and calls \c agp_backend_release.
|
|
|
*/
|
|
|
-int drm_agp_release(struct drm_device * dev)
|
|
|
+int drm_agp_release(struct drm_device *dev)
|
|
|
{
|
|
|
if (!dev->agp || !dev->agp->acquired)
|
|
|
return -EINVAL;
|
|
@@ -161,7 +161,7 @@ int drm_agp_release_ioctl(struct drm_device *dev, void *data,
|
|
|
* Verifies the AGP device has been acquired but not enabled, and calls
|
|
|
* \c agp_enable.
|
|
|
*/
|
|
|
-int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode)
|
|
|
+int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode)
|
|
|
{
|
|
|
if (!dev->agp || !dev->agp->acquired)
|
|
|
return -EINVAL;
|
|
@@ -244,8 +244,8 @@ int drm_agp_alloc_ioctl(struct drm_device *dev, void *data,
|
|
|
*
|
|
|
* Walks through drm_agp_head::memory until finding a matching handle.
|
|
|
*/
|
|
|
-static struct drm_agp_mem *drm_agp_lookup_entry(struct drm_device * dev,
|
|
|
- unsigned long handle)
|
|
|
+static struct drm_agp_mem *drm_agp_lookup_entry(struct drm_device *dev,
|
|
|
+ unsigned long handle)
|
|
|
{
|
|
|
struct drm_agp_mem *entry;
|
|
|
|