xref: /dragonfly/sys/dev/drm/include/linux/module.h (revision 058cb5de)
172c6c9b8SFrançois Tigeot /*-
272c6c9b8SFrançois Tigeot  * Copyright (c) 2010 Isilon Systems, Inc.
372c6c9b8SFrançois Tigeot  * Copyright (c) 2010 iX Systems, Inc.
472c6c9b8SFrançois Tigeot  * Copyright (c) 2010 Panasas, Inc.
572c6c9b8SFrançois Tigeot  * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
672c6c9b8SFrançois Tigeot  * All rights reserved.
772c6c9b8SFrançois Tigeot  *
872c6c9b8SFrançois Tigeot  * Redistribution and use in source and binary forms, with or without
972c6c9b8SFrançois Tigeot  * modification, are permitted provided that the following conditions
1072c6c9b8SFrançois Tigeot  * are met:
1172c6c9b8SFrançois Tigeot  * 1. Redistributions of source code must retain the above copyright
1272c6c9b8SFrançois Tigeot  *    notice unmodified, this list of conditions, and the following
1372c6c9b8SFrançois Tigeot  *    disclaimer.
1472c6c9b8SFrançois Tigeot  * 2. Redistributions in binary form must reproduce the above copyright
1572c6c9b8SFrançois Tigeot  *    notice, this list of conditions and the following disclaimer in the
1672c6c9b8SFrançois Tigeot  *    documentation and/or other materials provided with the distribution.
1772c6c9b8SFrançois Tigeot  *
1872c6c9b8SFrançois Tigeot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1972c6c9b8SFrançois Tigeot  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2072c6c9b8SFrançois Tigeot  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2172c6c9b8SFrançois Tigeot  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2272c6c9b8SFrançois Tigeot  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2372c6c9b8SFrançois Tigeot  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2472c6c9b8SFrançois Tigeot  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2572c6c9b8SFrançois Tigeot  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2672c6c9b8SFrançois Tigeot  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2772c6c9b8SFrançois Tigeot  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2872c6c9b8SFrançois Tigeot  */
2972c6c9b8SFrançois Tigeot #ifndef	_LINUX_MODULE_H_
3072c6c9b8SFrançois Tigeot #define	_LINUX_MODULE_H_
3172c6c9b8SFrançois Tigeot 
3272c6c9b8SFrançois Tigeot #include <linux/list.h>
3372c6c9b8SFrançois Tigeot #include <linux/compiler.h>
3472c6c9b8SFrançois Tigeot #include <linux/moduleparam.h>
35*058cb5deSFrançois Tigeot #include <linux/export.h>
3672c6c9b8SFrançois Tigeot 
3772c6c9b8SFrançois Tigeot #define MODULE_AUTHOR(name)
3872c6c9b8SFrançois Tigeot #define MODULE_DESCRIPTION(name)
3972c6c9b8SFrançois Tigeot #define MODULE_LICENSE(name)
4072c6c9b8SFrançois Tigeot 
4172c6c9b8SFrançois Tigeot #ifndef MODULE_VERSION
4272c6c9b8SFrançois Tigeot #define MODULE_VERSION(name)
4372c6c9b8SFrançois Tigeot #endif
4472c6c9b8SFrançois Tigeot 
4572c6c9b8SFrançois Tigeot #define	THIS_MODULE	((struct module *)0)
4672c6c9b8SFrançois Tigeot 
4772c6c9b8SFrançois Tigeot #endif	/* _LINUX_MODULE_H_ */
48