Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/drm Insert a strategi...
details: https://anonhg.NetBSD.org/src/rev/1b7dc7099157
branches: riastradh-drm2
changeset: 788229:1b7dc7099157
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:49:35 2013 +0000
description:
Insert a strategic cast into agp_find_bridge.
diffstat:
sys/external/bsd/drm2/include/drm/drm_agp_netbsd.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 2759dc19f857 -r 1b7dc7099157 sys/external/bsd/drm2/include/drm/drm_agp_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_agp_netbsd.h Wed Jul 24 02:49:21 2013 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_agp_netbsd.h Wed Jul 24 02:49:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_agp_netbsd.h,v 1.1.2.4 2013/07/24 02:45:06 riastradh Exp $ */
+/* $NetBSD: drm_agp_netbsd.h,v 1.1.2.5 2013/07/24 02:49:35 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -76,8 +76,8 @@
* XXX How do we find the agp bridge attached to this
* particular PCI device?
*/
- return container_of(agp_find_device(0), struct agp_bridge_data,
- abd_sc);
+ return container_of((struct agp_softc *)agp_find_device(0),
+ struct agp_bridge_data, abd_sc);
}
static inline struct agp_bridge_data *
Home |
Main Index |
Thread Index |
Old Index