Skip to content

Commit

Permalink
[AGPGART] agp.h: constify struct agp_bridge_data::version
Browse files Browse the repository at this point in the history
drivers/char/agp/backend.c: In function `agp_backend_initialize':
drivers/char/agp/backend.c:141: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Alexey Dobriyan authored and Dave Jones committed Sep 5, 2006
1 parent b53e674 commit 8eb7925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/agp/agp.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct agp_bridge_driver {
};

struct agp_bridge_data {
struct agp_version *version;
const struct agp_version *version;
struct agp_bridge_driver *driver;
struct vm_operations_struct *vm_ops;
void *previous_size;
Expand Down

0 comments on commit 8eb7925

Please sign in to comment.