hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/soc/tegra/fuse/fuse-tegra20.c
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License
14
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
154 *
165 * Based on drivers/misc/eeprom/sunxi_sid.c
176 */
....@@ -110,7 +99,7 @@
11099 dma_cap_zero(mask);
111100 dma_cap_set(DMA_SLAVE, mask);
112101
113
- fuse->apbdma.chan = __dma_request_channel(&mask, dma_filter, NULL);
102
+ fuse->apbdma.chan = dma_request_channel(mask, dma_filter, NULL);
114103 if (!fuse->apbdma.chan)
115104 return -EPROBE_DEFER;
116105
....@@ -175,4 +164,5 @@
175164 .speedo_init = tegra20_init_speedo_data,
176165 .probe = tegra20_fuse_probe,
177166 .info = &tegra20_fuse_info,
167
+ .soc_attr_group = &tegra_soc_attr_group,
178168 };