]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/x86/lib/lpc-uclass.c
treewide: Simply conditions with the new OF_REAL
[thirdparty/u-boot.git] / arch / x86 / lib / lpc-uclass.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
a274e9ca
SG
2/*
3 * Copyright (c) 2015 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
a274e9ca
SG
5 */
6
7#include <common.h>
8#include <dm.h>
a274e9ca 9
a274e9ca
SG
10UCLASS_DRIVER(lpc) = {
11 .id = UCLASS_LPC,
12 .name = "lpc",
414cc151 13#if CONFIG_IS_ENABLED(OF_REAL)
91195485 14 .post_bind = dm_scan_fdt_dev,
12e927b0 15#endif
a274e9ca 16};