From b80427f9064e6e286c513041b2a3e04ecafc7b88 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 24 May 2016 15:39:57 +0000 Subject: [PATCH] [bhnd] fix compilation due to incompatible types Submitted by: Michael Zhilin Differential Revision: https://reviews.freebsd.org/D6532 --- sys/dev/bhnd/soc/bhnd_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/bhnd/soc/bhnd_soc.c b/sys/dev/bhnd/soc/bhnd_soc.c index 48a18934e15..32c44fc8b32 100644 --- a/sys/dev/bhnd/soc/bhnd_soc.c +++ b/sys/dev/bhnd/soc/bhnd_soc.c @@ -216,7 +216,7 @@ bhnd_soc_is_hw_disabled(device_t dev, device_t child) return false; } -static int +static bhnd_attach_type bhnd_soc_get_attach_type(device_t dev, device_t child) { return (BHND_ATTACH_NATIVE);