1fb76cd81SFrançois Tigeot /* 2fb76cd81SFrançois Tigeot * Copyright (c) 2015 François Tigeot 3fb76cd81SFrançois Tigeot * All rights reserved. 4fb76cd81SFrançois Tigeot * 5fb76cd81SFrançois Tigeot * Redistribution and use in source and binary forms, with or without 6fb76cd81SFrançois Tigeot * modification, are permitted provided that the following conditions 7fb76cd81SFrançois Tigeot * are met: 8fb76cd81SFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 9fb76cd81SFrançois Tigeot * notice unmodified, this list of conditions, and the following 10fb76cd81SFrançois Tigeot * disclaimer. 11fb76cd81SFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 12fb76cd81SFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 13fb76cd81SFrançois Tigeot * documentation and/or other materials provided with the distribution. 14fb76cd81SFrançois Tigeot * 15fb76cd81SFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16fb76cd81SFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17fb76cd81SFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18fb76cd81SFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19fb76cd81SFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20fb76cd81SFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21fb76cd81SFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22fb76cd81SFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23fb76cd81SFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24fb76cd81SFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25fb76cd81SFrançois Tigeot */ 26fb76cd81SFrançois Tigeot 27fb76cd81SFrançois Tigeot #ifndef _LINUX_FB_H_ 28fb76cd81SFrançois Tigeot #define _LINUX_FB_H_ 29fb76cd81SFrançois Tigeot 30fb76cd81SFrançois Tigeot #include <linux/backlight.h> 31fb76cd81SFrançois Tigeot 32*9edbd4a0SFrançois Tigeot #define KHZ2PICOS(a) (1000000000UL/(a)) 33*9edbd4a0SFrançois Tigeot 34fb76cd81SFrançois Tigeot #endif /* _LINUX_FB_H_ */ 35