root/arch/arm/mach-imx/devices/platform-gpio_keys.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. imx_add_gpio_keys

   1 // SPDX-License-Identifier: GPL-2.0-or-later
   2 /*
   3  * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
   4  */
   5 #include <linux/sizes.h>
   6 
   7 #include "../hardware.h"
   8 #include "devices-common.h"
   9 
  10 struct platform_device *__init imx_add_gpio_keys(
  11                 const struct gpio_keys_platform_data *pdata)
  12 {
  13         return imx_add_platform_device("gpio-keys", -1, NULL,
  14                  0, pdata, sizeof(*pdata));
  15 }

/* [<][>][^][v][top][bottom][index][help] */