Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc Fix build failure.
details: https://anonhg.NetBSD.org/src/rev/2aa3d165b4b8
branches: trunk
changeset: 757761:2aa3d165b4b8
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Tue Sep 21 04:53:53 2010 +0000
description:
Fix build failure.
A new variable width and value had been forgotten since r1.7.
diffstat:
sys/dev/sdmmc/sdmmc_mem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 62f8b2ea344d -r 2aa3d165b4b8 sys/dev/sdmmc/sdmmc_mem.c
--- a/sys/dev/sdmmc/sdmmc_mem.c Tue Sep 21 03:33:14 2010 +0000
+++ b/sys/dev/sdmmc/sdmmc_mem.c Tue Sep 21 04:53:53 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdmmc_mem.c,v 1.9 2010/09/20 09:42:32 kiyohara Exp $ */
+/* $NetBSD: sdmmc_mem.c,v 1.10 2010/09/21 04:53:53 kiyohara Exp $ */
/* $OpenBSD: sdmmc_mem.c,v 1.10 2009/01/09 10:55:22 jsg Exp $ */
/*
@@ -46,7 +46,7 @@
/* Routines for SD/MMC memory cards. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc_mem.c,v 1.9 2010/09/20 09:42:32 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc_mem.c,v 1.10 2010/09/21 04:53:53 kiyohara Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -436,7 +436,7 @@
int
sdmmc_mem_init(struct sdmmc_softc *sc, struct sdmmc_function *sf)
{
- int error = 0;
+ int width, value, error = 0;
SDMMC_LOCK(sc);
Home |
Main Index |
Thread Index |
Old Index