aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-19 14:50:54 +0200
committerMartin Roth <martinroth@google.com>2018-09-21 14:12:42 +0000
commit756a0bd2fe05ce187b3702805cfc78f60cc64477 (patch)
tree183df6bc1a70858b7baaa46cfd4e40af779c3992
parenta92b73f389b0f08f6cfb2389f80bc30837e32a46 (diff)
soc/intel/quark/uart.c: Don't use device_t
Use of device_t is deprecated. Change-Id: Ia50aa96901b979b947fd4d269b077814c06f60c6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28677 Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/quark/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/uart.c b/src/soc/intel/quark/uart.c
index b4af08e2dd..0d86284564 100644
--- a/src/soc/intel/quark/uart.c
+++ b/src/soc/intel/quark/uart.c
@@ -21,7 +21,7 @@
#include <device/pci_ids.h>
#include <soc/pci_devs.h>
-static void uart_read_resources(device_t dev)
+static void uart_read_resources(struct device *dev)
{
struct resource *res;