diff options
Diffstat (limited to 'commands/detect.c')
-rw-r--r-- | commands/detect.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/commands/detect.c b/commands/detect.c index 48bab4d020..ad1745adce 100644 --- a/commands/detect.c +++ b/commands/detect.c @@ -1,21 +1,8 @@ -/* - * detect.c - detect devices command - * - * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix + +/* detect.c - detect devices command */ + #include <common.h> #include <command.h> #include <complete.h> @@ -25,7 +12,7 @@ static int do_detect(int argc, char *argv[]) { - struct device_d *dev; + struct device *dev; int opt, i, ret, err; int option_list = 0; int option_all = 0; |