lpc-uclass.c 331 B

12345678910111213141516
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2015 Google, Inc
  4. * Written by Simon Glass <sjg@chromium.org>
  5. */
  6. #include <common.h>
  7. #include <dm.h>
  8. UCLASS_DRIVER(lpc) = {
  9. .id = UCLASS_LPC,
  10. .name = "lpc",
  11. #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
  12. .post_bind = dm_scan_fdt_dev,
  13. #endif
  14. };