| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. |
|---|
| 3 | | - * |
|---|
| 4 | | - * Licensed under the terms of the GNU GPL License version 2. |
|---|
| 5 | 4 | * |
|---|
| 6 | 5 | * PCI initialization based on example code from: |
|---|
| 7 | 6 | * Andreas Herrmann <andreas.herrmann3@amd.com> |
|---|
| .. | .. |
|---|
| 118 | 117 | break; |
|---|
| 119 | 118 | default: |
|---|
| 120 | 119 | return -1; |
|---|
| 121 | | - }; |
|---|
| 120 | + } |
|---|
| 122 | 121 | return 0; |
|---|
| 123 | 122 | } |
|---|
| 124 | 123 | |
|---|
| .. | .. |
|---|
| 329 | 328 | .stop = amd_fam14h_stop, |
|---|
| 330 | 329 | .do_register = amd_fam14h_register, |
|---|
| 331 | 330 | .unregister = amd_fam14h_unregister, |
|---|
| 332 | | - .needs_root = 1, |
|---|
| 331 | + .flags.needs_root = 1, |
|---|
| 333 | 332 | .overflow_s = OVERFLOW_MS / 1000, |
|---|
| 334 | 333 | }; |
|---|
| 335 | 334 | #endif /* #if defined(__i386__) || defined(__x86_64__) */ |
|---|