.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* -*- linux-c -*- ------------------------------------------------------- * |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright (C) 1991, 1992 Linus Torvalds |
---|
4 | 5 | * Copyright 2007 rPath, Inc. - All Rights Reserved |
---|
5 | | - * |
---|
6 | | - * This file is part of the Linux kernel, and is made available under |
---|
7 | | - * the terms of the GNU General Public License version 2. |
---|
8 | 6 | * |
---|
9 | 7 | * ----------------------------------------------------------------------- */ |
---|
10 | 8 | |
---|
.. | .. |
---|
80 | 78 | u16 xmode_n; /* Size of unprobed mode range */ |
---|
81 | 79 | }; |
---|
82 | 80 | |
---|
83 | | -#define __videocard struct card_info __attribute__((used,section(".videocards"))) |
---|
| 81 | +#define __videocard struct card_info __section(".videocards") __attribute__((used)) |
---|
84 | 82 | extern struct card_info video_cards[], video_cards_end[]; |
---|
85 | 83 | |
---|
86 | 84 | int mode_defined(u16 mode); /* video.c */ |
---|