/* * altera.h * * altera FPGA driver * * Copyright (C) Altera Corporation 1998-2001 * Copyright (C) 2010 NetUP Inc. * Copyright (C) 2010 Igor M. Liplianin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _ALTERA_H_ #define _ALTERA_H_ struct altera_config { void *dev; u8 *action; int (*jtag_io) (void *dev, int tms, int tdi, int tdo); }; #if defined(CONFIG_ALTERA_STAPL) || \ (defined(CONFIG_ALTERA_STAPL_MODULE) && defined(MODULE)) extern int altera_init(struct altera_config *config, const struct firmware *fw); #else static inline int altera_init(struct altera_config *config, const struct firmware *fw) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); return 0; } #endif /* CONFIG_ALTERA_STAPL */ #endif /* _ALTERA_H_ */ td>
summaryrefslogtreecommitdiff
path: root/include/rdma/mr_pool.h
;'>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-01-25 00:54:07 +0530
committerDan Williams <dan.j.williams@intel.com>2017-01-31 18:16:30 -0800
commit970d14e3989160ee9e97c7d75ecbc893fd29dab9 (patch)
tree4a731cac4efedb17f86a912ec56c151d26792abe /include/uapi/video
parent7a308bb3016f57e5be11a677d15b821536419d36 (diff)
nvdimm: constify device_type structures
Declare device_type structure as const as it is only stored in the type field of a device structure. This field is of type const, so add const to declaration of device_type structure. File size before: text data bss dec hex filename 19278 3199 16 22493 57dd nvdimm/namespace_devs.o File size after: text data bss dec hex filename 19929 3160 16 23105 5a41 nvdimm/namespace_devs.o Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/uapi/video')