hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/via-core.h
....@@ -1,24 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
34 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
45 * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net>
56 * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public
9
- * License as published by the Free Software Foundation;
10
- * either version 2, or (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
14
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
15
- * A PARTICULAR PURPOSE.See the GNU General Public License
16
- * for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program; if not, write to the Free Software
20
- * Foundation, Inc.,
21
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
227 */
238
249 #ifndef __VIA_CORE_H__
....@@ -62,7 +47,6 @@
6247 /*
6348 * Allow subdevs to register suspend/resume hooks.
6449 */
65
-#ifdef CONFIG_PM
6650 struct viafb_pm_hooks {
6751 struct list_head list;
6852 int (*suspend)(void *private);
....@@ -72,7 +56,6 @@
7256
7357 void viafb_pm_register(struct viafb_pm_hooks *hooks);
7458 void viafb_pm_unregister(struct viafb_pm_hooks *hooks);
75
-#endif /* CONFIG_PM */
7659
7760 /*
7861 * This is the global viafb "device" containing stuff needed by