Skip to content

Commit de8ac6c

Browse files
committed
add the missing comment of the gpiomem file
This function is fork from https://github.com/joerg65/gpiomem_tinkerboard Many thanks for the great work of joeryg65. Change-Id: I3f395ae344e5d664ad21afca3b89a76392300b57 Reviewed-on: https://tp-biosrd-v02/gerrit/82539 Reviewed-by: Jamess Huang(黃以民) <[email protected]> Tested-by: Jamess Huang(黃以民) <[email protected]>
1 parent 38e819c commit de8ac6c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/char/rockchip/rk3288-gpiomem.c

100644100755
+6-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4040
*/
4141

42+
/*
43+
* Ported to rk3288 from Jorg Wolff, 2017
44+
*/
45+
4246
#include <linux/kernel.h>
4347
#include <linux/module.h>
4448
#include <linux/of.h>
@@ -100,6 +104,7 @@ static const struct vm_operations_struct rk3288_gpiomem_vm_ops = {
100104
.access = generic_access_phys
101105
#endif
102106
};
107+
103108
static int address_is_allowed(unsigned long pfn, unsigned long size)
104109
{
105110
unsigned long address = pfn << PAGE_SHIFT;
@@ -174,7 +179,7 @@ static int rk3288_gpiomem_dev_uevent(struct device *dev, struct kobj_uevent_env
174179
return 0;
175180
}
176181

177-
/****************************************************************************
182+
/****************************************************************************
178183
*
179184
* Probe and remove functions
180185
*

0 commit comments

Comments
 (0)