linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Albert Cranford <ac9410@bellsouth.net>
To: Linux Kernel List <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@transmeta.com>
Subject: 2.4.1-pre9 fails to compile drm r128 as module
Date: Sat, 20 Jan 2001 01:49:27 +0000	[thread overview]
Message-ID: <3A68EEA7.1A806E6C@bellsouth.net> (raw)

2.4.1-pre9 changes to drivers/char/drm/drm.h are incorrect.
Please reverse this small change to compile correctly.

r128_drv.c:124: `DRM_IOCTL_R128_PACKET' undeclared here (not in a function)
r128_drv.c:124: nonconstant array index in initializer for `r128_ioctls'
make[3]: *** [r128_drv.o] Error 1
make[2]: *** [_modsubdir_drm] Error 2
make[1]: *** [_modsubdir_char] Error 2

--- linux-2.4.1-pre9/drivers/char/drm/drm.h.orig        Sat Jan 20 00:43:11 2001
+++ linux/drivers/char/drm/drm.h        Sat Jan 20 00:49:17 2001
@@ -382,7 +382,7 @@
 #define DRM_IOCTL_R128_BLIT            DRM_IOW( 0x4c, drm_r128_blit_t)
 #define DRM_IOCTL_R128_DEPTH           DRM_IOW( 0x4d, drm_r128_depth_t)
 #define DRM_IOCTL_R128_STIPPLE         DRM_IOW( 0x4e, drm_r128_stipple_t)
-#define DRM_IOCTL_R128_INDIRECT                DRM_IOWR(0x4f, drm_r128_indirect_t)
+#define DRM_IOCTL_R128_PACKET          DRM_IOWR(0x4f, drm_r128_packet_t)
 
 /* Radeon specific ioctls */
 #define DRM_IOCTL_RADEON_CP_INIT       DRM_IOW( 0x40, drm_radeon_init_t)
-- 
Albert Cranford Deerfield Beach FL USA
ac9410@bellsouth.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2001-01-20  6:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-20  1:49 Albert Cranford [this message]
2001-01-20 16:38 ` 2.4.1-pre9 fails to compile drm r128 as module Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A68EEA7.1A806E6C@bellsouth.net \
    --to=ac9410@bellsouth.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).