| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 4 | | - * published by the Free Software Foundation. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 7 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 8 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 9 | | - * GNU General Public License for more details. |
|---|
| 10 | 3 | * |
|---|
| 11 | 4 | * Copyright (C) 2012 ARM Limited |
|---|
| 12 | 5 | */ |
|---|
| .. | .. |
|---|
| 153 | 146 | .suppress_bind_attrs = true, |
|---|
| 154 | 147 | }, |
|---|
| 155 | 148 | }; |
|---|
| 156 | | - |
|---|
| 157 | | -static int __init vexpress_reset_init(void) |
|---|
| 158 | | -{ |
|---|
| 159 | | - return platform_driver_register(&vexpress_reset_driver); |
|---|
| 160 | | -} |
|---|
| 161 | | -device_initcall(vexpress_reset_init); |
|---|
| 149 | +builtin_platform_driver(vexpress_reset_driver); |
|---|